Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009302/0.0009302, allocations: 100.4 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 194.5 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.3 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.03325/0.1509, allocations: 30.45 MB / 0.5001 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3031/0.454, allocations: 7.196 MB / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008297/0.4624, allocations: 140.9 kB / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006339/0.4688, allocations: 1.517 MB / 0.5087 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.4835, allocations: 4.509 MB / 0.5131 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.4858, allocations: 422.8 kB / 0.5135 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007235/0.493, allocations: 4.221 MB / 0.5176 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006456/0.4995, allocations: 3.323 MB / 0.5209 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.5024, allocations: 1.093 MB / 0.522 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.5062, allocations: 1.76 MB / 0.5237 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008876/0.5071, allocations: 140.1 kB / 0.5238 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.5099, allocations: 0.8665 MB / 0.5247 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.5124, allocations: 1.613 MB / 0.5262 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002372/0.5148, allocations: 0.8192 MB / 0.527 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009119/0.5239, allocations: 5.431 MB / 0.5323 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.524, allocations: 0 / 0.5323 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.524, allocations: 0 / 0.5323 GB, free: 4.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003332/0.5243, allocations: 0 / 0.5323 GB, free: 4.691 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1672 * Number of variables: 1672 Notification: Performance of Generate backend data structure: time 0.01162/0.5359, allocations: 4.123 MB / 0.5364 GB, free: 2.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.536, allocations: 12.67 kB / 0.5364 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002305/0.5383, allocations: 0.7763 MB / 0.5371 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.5485, allocations: 3.234 MB / 0.5403 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/0.5543, allocations: 2.244 MB / 0.5425 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.5547, allocations: 222 kB / 0.5427 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/0.5563, allocations: 290.3 kB / 0.543 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/0.5785, allocations: 11.57 MB / 0.5543 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.5787, allocations: 23.81 kB / 0.5543 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.5791, allocations: 133.7 kB / 0.5544 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004054/0.5832, allocations: 2.645 MB / 0.557 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.6056, allocations: 10.74 MB / 0.5675 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05876/0.6644, allocations: 36.18 MB / 0.6028 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008887/0.6734, allocations: 4.562 MB / 0.6073 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/0.6769, allocations: 2.194 MB / 0.6094 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.6783, allocations: 1.317 MB / 0.6107 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.6784, allocations: 52.56 kB / 0.6108 GB, free: 13.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 5.049e-06/0.6784, allocations: 1.641 kB / 0.6108 GB, free: 13.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=247): time 0.03958/0.718, allocations: 13.28 MB / 0.6237 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.7181, allocations: 73.41 kB / 0.6238 GB, free: 484 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005504/0.7236, allocations: 2.755 MB / 0.6265 GB, free: 13.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005153/0.7241, allocations: 57.7 kB / 0.6266 GB, free: 13.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.7263, allocations: 2.885 MB / 0.6294 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/0.7276, allocations: 0.9113 MB / 0.6303 GB, free: 9.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.7279, allocations: 112 kB / 0.6304 GB, free: 9.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003851/0.7283, allocations: 0.5419 MB / 0.6309 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.7317, allocations: 2.221 MB / 0.6331 GB, free: 6.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006456/0.7382, allocations: 5.312 MB / 0.6383 GB, free: 172 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005993/0.7442, allocations: 3.439 MB / 0.6416 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.414e-05/0.7443, allocations: 35.94 kB / 0.6416 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=745) (initialization): time 0.01844/0.7627, allocations: 8.208 MB / 0.6497 GB, free: 4.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.7629, allocations: 48 kB / 0.6497 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/0.7632, allocations: 108.9 kB / 0.6498 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/0.7666, allocations: 1.034 MB / 0.6508 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/0.7712, allocations: 1.279 MB / 0.6521 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.7745, allocations: 2.46 MB / 0.6545 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/0.7794, allocations: 307.7 kB / 0.6548 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/0.7809, allocations: 322.5 kB / 0.6551 GB, free: 14.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (692): * Single equations (assignments): 683 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006111/0.787, allocations: 2.221 MB / 0.6572 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/0.7879, allocations: 272.4 kB / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.7997, allocations: 4.79 MB / 0.6622 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.772e-05/0.7999, allocations: 47.95 kB / 0.6622 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.7999, allocations: 0 / 0.6622 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/0.7999, allocations: 11.95 kB / 0.6622 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/0.8266, allocations: 11.21 MB / 0.6732 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/0.8267, allocations: 12 kB / 0.6732 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/0.8287, allocations: 391.3 kB / 0.6736 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/0.8312, allocations: 0.6266 MB / 0.6742 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000445/0.8317, allocations: 47.98 kB / 0.6742 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.8343, allocations: 2.057 MB / 0.6762 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/0.8343, allocations: 15.94 kB / 0.6763 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.8483, allocations: 6.794 MB / 0.6829 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.8495, allocations: 321.5 kB / 0.6832 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008748/0.8504, allocations: 44 kB / 0.6832 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.8522, allocations: 123.8 kB / 0.6834 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004375/0.8526, allocations: 156.9 kB / 0.6835 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/0.8529, allocations: 75.34 kB / 0.6836 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003554/0.8565, allocations: 1.665 MB / 0.6852 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8565, allocations: 4 kB / 0.6852 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005548/0.862, allocations: 0.9609 MB / 0.6861 GB, free: 14.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/0.8738, allocations: 7.463 MB / 0.6934 GB, free: 6.848 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.00993/0.8838, allocations: 5.826 MB / 0.6991 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.8838, allocations: 384 / 0.6991 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004168/0.888, allocations: 2.328 MB / 0.7014 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.8918, allocations: 438.6 kB / 0.7018 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3413/1.233, allocations: 31.58 MB / 0.7327 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007056/1.24, allocations: 3.441 MB / 0.736 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005727/1.246, allocations: 2.023 MB / 0.738 GB, free: 182.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002967/1.249, allocations: 1.913 MB / 0.7399 GB, free: 180.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.249, allocations: 0 / 0.7399 GB, free: 180.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09587/1.345, allocations: 67.94 MB / 0.8062 GB, free: 121.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.345, allocations: 213.1 kB / 0.8064 GB, free: 121.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/4.922, allocations: 0 / 0.8064 GB, free: 121.6 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat does not exist to compare? outputFormat=mat