Compiled test.osl -> test.oso
Parameter initialization:
  matrixparam0  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrixparam1  = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1m = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1world = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

  matrix (0.1) = 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1
  matrix (0.1, 0.2, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6
 varying:
  matrix (0) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrix (0, 0, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 0 0 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6

testing with spaces:
  matrix ("shader", 1) = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("shader", 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
 varying:
  matrix ("shader", 0) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrix ("shader", 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0 0.70711 0 0 0 0.70711 0 0 0 0 1 0 0 0 0 1
  matrix ("world", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrix ("common", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

Testing matrix from-to construction:
  matrix ("common", "shader") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1)
  matrix ("shader", "common") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1)
  matrix ("common", "object") = (0 -1 0 0 1 0 0 0 0 0 1 0 -1 0 0 1)
  matrix ("object", "common") = (0 1 0 0 -1 0 0 0 0 0 1 0 0 1 0 1)
  matrix ("shader", "object") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -1 -1 0 1)
  matrix ("object", "shader") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 0 1.4142 0 1)

Testing getmatrix for unknown space name:
ERROR: Unknown transformation "foobar"
  'foobar' matrix not found, as expected


Testing matrix component access:
  M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  M[1][0..3] = -0.70711 0.70711 0 0
  after M[1][3] = 5, M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 5 0 0 1 0 1 0 0 1
 varying:
  after M[1][2] = 6, M = 0.70711 0.70711 0 0 -0.70711 0.70711 6 5 0 0 1 0 1 0 0 1


Testing matrix math:
  M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  -M = [-0.70711 -0.70711 0 0 0.70711 -0.70711 0 0 0 0 -1 0 -1 0 0 -1]
  2*M = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M*2 = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M/2 = [0.35355 0.35355 0 0 -0.35355 0.35355 0 0 0 0 0.5 0 0.5 0 0 0.5]
  M*Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident*M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  M*M = [0 1 0 0 -1 0 0 0 0 0 1 0 1.7071 0.70711 0 1]
  M/M = [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]
  M/Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  1/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  transpose(M) = 0.70711 -0.70711 0 1 0.70711 0.70711 0 0 0 0 1 0 0 0 0 1
  determinant(M) = 1
  (M==M) ? 1
  (M!=M) ? 0
  (M==Ident) ? 0
  (M!=Ident) ? 1
Parameter initialization:
  matrixparam0  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrixparam1  = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1m = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1world = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

  matrix (0.1) = 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1
  matrix (0.1, 0.2, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6
 varying:
  matrix (1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrix (1, 0, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 1 0 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6

testing with spaces:
  matrix ("shader", 1) = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("shader", 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
 varying:
  matrix ("shader", 1) = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("shader", 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("world", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrix ("common", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

Testing matrix from-to construction:
  matrix ("common", "shader") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1)
  matrix ("shader", "common") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1)
  matrix ("common", "object") = (0 -1 0 0 1 0 0 0 0 0 1 0 -1 0 0 1)
  matrix ("object", "common") = (0 1 0 0 -1 0 0 0 0 0 1 0 0 1 0 1)
  matrix ("shader", "object") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -1 -1 0 1)
  matrix ("object", "shader") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 0 1.4142 0 1)

Testing getmatrix for unknown space name:
  'foobar' matrix not found, as expected


Testing matrix component access:
  M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  M[1][0..3] = -0.70711 0.70711 0 0
  after M[1][3] = 5, M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 5 0 0 1 0 1 0 0 1
 varying:
  after M[1][2] = 7, M = 0.70711 0.70711 0 0 -0.70711 0.70711 7 5 0 0 1 0 1 0 0 1


Testing matrix math:
  M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  -M = [-0.70711 -0.70711 0 0 0.70711 -0.70711 0 0 0 0 -1 0 -1 0 0 -1]
  2*M = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M*2 = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M/2 = [0.35355 0.35355 0 0 -0.35355 0.35355 0 0 0 0 0.5 0 0.5 0 0 0.5]
  M*Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident*M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  M*M = [0 1 0 0 -1 0 0 0 0 0 1 0 1.7071 0.70711 0 1]
  M/M = [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]
  M/Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  1/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  transpose(M) = 0.70711 -0.70711 0 1 0.70711 0.70711 0 0 0 0 1 0 0 0 0 1
  determinant(M) = 1
  (M==M) ? 1
  (M!=M) ? 0
  (M==Ident) ? 0
  (M!=Ident) ? 1
Parameter initialization:
  matrixparam0  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrixparam1  = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1m = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1world = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

  matrix (0.1) = 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1
  matrix (0.1, 0.2, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6
 varying:
  matrix (0) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrix (0, 1, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 0 1 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6

testing with spaces:
  matrix ("shader", 1) = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("shader", 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
 varying:
  matrix ("shader", 0) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrix ("shader", 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0 0.70711 0 0 0 0.70711 0 0 0 0 1 0 0 0 0 1
  matrix ("world", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrix ("common", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

Testing matrix from-to construction:
  matrix ("common", "shader") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1)
  matrix ("shader", "common") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1)
  matrix ("common", "object") = (0 -1 0 0 1 0 0 0 0 0 1 0 -1 0 0 1)
  matrix ("object", "common") = (0 1 0 0 -1 0 0 0 0 0 1 0 0 1 0 1)
  matrix ("shader", "object") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -1 -1 0 1)
  matrix ("object", "shader") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 0 1.4142 0 1)

Testing getmatrix for unknown space name:
  'foobar' matrix not found, as expected


Testing matrix component access:
  M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  M[1][0..3] = -0.70711 0.70711 0 0
  after M[1][3] = 5, M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 5 0 0 1 0 1 0 0 1
 varying:
  after M[1][2] = 6, M = 0.70711 0.70711 0 0 -0.70711 0.70711 6 5 0 0 1 0 1 0 0 1


Testing matrix math:
  M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  -M = [-0.70711 -0.70711 0 0 0.70711 -0.70711 0 0 0 0 -1 0 -1 0 0 -1]
  2*M = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M*2 = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M/2 = [0.35355 0.35355 0 0 -0.35355 0.35355 0 0 0 0 0.5 0 0.5 0 0 0.5]
  M*Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident*M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  M*M = [0 1 0 0 -1 0 0 0 0 0 1 0 1.7071 0.70711 0 1]
  M/M = [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]
  M/Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  1/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  transpose(M) = 0.70711 -0.70711 0 1 0.70711 0.70711 0 0 0 0 1 0 0 0 0 1
  determinant(M) = 1
  (M==M) ? 1
  (M!=M) ? 0
  (M==Ident) ? 0
  (M!=Ident) ? 1
Parameter initialization:
  matrixparam0  = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  matrixparam1  = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1m = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrixparam1world = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

  matrix (0.1) = 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1
  matrix (0.1, 0.2, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6
 varying:
  matrix (1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrix (1, 1, 0.3, 0.4,  0.5, 0.6, 0.7, 0.8,  0.9, 1, 1.1, 1.2,  1.3, 1.4, 1.5, 1.6) 
	= 1 1 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6

testing with spaces:
  matrix ("shader", 1) = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("shader", 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
 varying:
  matrix ("shader", 1) = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("shader", 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 
	= 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  matrix ("world", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
  matrix ("common", 1) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

Testing matrix from-to construction:
  matrix ("common", "shader") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1)
  matrix ("shader", "common") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1)
  matrix ("common", "object") = (0 -1 0 0 1 0 0 0 0 0 1 0 -1 0 0 1)
  matrix ("object", "common") = (0 1 0 0 -1 0 0 0 0 0 1 0 0 1 0 1)
  matrix ("shader", "object") = (0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -1 -1 0 1)
  matrix ("object", "shader") = (0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 0 1.4142 0 1)

Testing getmatrix for unknown space name:
  'foobar' matrix not found, as expected


Testing matrix component access:
  M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1
  M[1][0..3] = -0.70711 0.70711 0 0
  after M[1][3] = 5, M = 0.70711 0.70711 0 0 -0.70711 0.70711 0 5 0 0 1 0 1 0 0 1
 varying:
  after M[1][2] = 7, M = 0.70711 0.70711 0 0 -0.70711 0.70711 7 5 0 0 1 0 1 0 0 1


Testing matrix math:
  M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  -M = [-0.70711 -0.70711 0 0 0.70711 -0.70711 0 0 0 0 -1 0 -1 0 0 -1]
  2*M = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M*2 = [1.4142 1.4142 0 0 -1.4142 1.4142 0 0 0 0 2 0 2 0 0 2]
  M/2 = [0.35355 0.35355 0 0 -0.35355 0.35355 0 0 0 0 0.5 0 0.5 0 0 0.5]
  M*Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident*M = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  M*M = [0 1 0 0 -1 0 0 0 0 0 1 0 1.7071 0.70711 0 1]
  M/M = [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]
  M/Ident = [0.70711 0.70711 0 0 -0.70711 0.70711 0 0 0 0 1 0 1 0 0 1]
  Ident/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  1/M = [0.70711 -0.70711 0 0 0.70711 0.70711 0 0 0 0 1 0 -0.70711 0.70711 0 1]
  transpose(M) = 0.70711 -0.70711 0 1 0.70711 0.70711 0 0 0 0 1 0 0 0 0 1
  determinant(M) = 1
  (M==M) ? 1
  (M!=M) ? 0
  (M==Ident) ? 0
  (M!=Ident) ? 1

