Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009177/0.0009178, allocations: 96.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3879/0.5263, allocations: 62.64 MB / 0.5217 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0415/0.5678, allocations: 14.66 MB / 0.536 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01708/0.5849, allocations: 320.3 kB / 0.5363 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.597, allocations: 3.087 MB / 0.5393 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04561/0.6427, allocations: 8.933 MB / 0.548 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008966/0.6517, allocations: 1.268 MB / 0.5492 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08148/0.7333, allocations: 49.87 MB / 0.5979 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.7438, allocations: 6.346 MB / 0.6041 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.7487, allocations: 1.849 MB / 0.606 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005321/0.754, allocations: 2.649 MB / 0.6085 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.7559, allocations: 248 kB / 0.6088 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/0.7602, allocations: 1.174 MB / 0.6099 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004699/0.7649, allocations: 2.763 MB / 0.6126 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002961/0.7679, allocations: 1.314 MB / 0.6139 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.779, allocations: 8.842 MB / 0.6225 GB, free: 8.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7791, allocations: 4 kB / 0.6225 GB, free: 8.984 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7791, allocations: 0 / 0.6225 GB, free: 8.984 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004863/0.7796, allocations: 0 / 0.6225 GB, free: 8.984 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02202/0.8016, allocations: 7.341 MB / 0.6297 GB, free: 1.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.8017, allocations: 8.031 kB / 0.6297 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004922/0.8066, allocations: 1.079 MB / 0.6308 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1674/0.974, allocations: 15.1 MB / 0.6455 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.9916, allocations: 5.573 MB / 0.651 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/0.9921, allocations: 365.5 kB / 0.6513 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/0.9948, allocations: 0.5113 MB / 0.6518 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03325/1.028, allocations: 16.35 MB / 0.6678 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/1.028, allocations: 79.3 kB / 0.6678 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/1.03, allocations: 231.8 kB / 0.6681 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005122/1.035, allocations: 2.934 MB / 0.6709 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/1.067, allocations: 13.69 MB / 0.6843 GB, free: 8.426 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3559/1.423, allocations: 64.43 MB / 0.7472 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/1.445, allocations: 7.873 MB / 0.7549 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02796/1.473, allocations: 18.89 MB / 0.7734 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.473, allocations: 63.16 kB / 0.7734 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=287): time 5.109e-06/1.473, allocations: 0 / 0.7734 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=370): time 0.1607/1.633, allocations: 51.62 MB / 0.8238 GB, free: 87.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.634, allocations: 273.8 kB / 0.8241 GB, free: 86.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.644, allocations: 6.513 MB / 0.8305 GB, free: 80.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001518/1.646, allocations: 85.7 kB / 0.8305 GB, free: 80.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004459/1.65, allocations: 4.742 MB / 0.8352 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002643/1.653, allocations: 1.357 MB / 0.8365 GB, free: 74.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/1.654, allocations: 188 kB / 0.8367 GB, free: 73.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0006635/1.655, allocations: 0.6947 MB / 0.8373 GB, free: 73.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005882/1.661, allocations: 3.883 MB / 0.8411 GB, free: 69.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009191/1.67, allocations: 9.091 MB / 0.85 GB, free: 57.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/1.678, allocations: 5.76 MB / 0.8556 GB, free: 51.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.678, allocations: 52 kB / 0.8557 GB, free: 51.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03107/1.709, allocations: 16.33 MB / 0.8716 GB, free: 35.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.709, allocations: 84 kB / 0.8717 GB, free: 35.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/1.709, allocations: 184 kB / 0.8719 GB, free: 35.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01276/1.722, allocations: 4.106 MB / 0.8759 GB, free: 31.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007184/1.729, allocations: 2.063 MB / 0.8779 GB, free: 28.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02847/1.758, allocations: 22.75 MB / 0.9001 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008235/1.766, allocations: 0.5093 MB / 0.9006 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/1.768, allocations: 0.5312 MB / 0.9012 GB, free: 4.902 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1088): * Single equations (assignments): 1083 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00629/1.774, allocations: 3.117 MB / 0.9042 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.776, allocations: 0.5669 MB / 0.9048 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3027/2.078, allocations: 9.826 MB / 0.9143 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.139e-05/2.078, allocations: 44.67 kB / 0.9144 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.14e-05/2.079, allocations: 18.78 kB / 0.9144 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/2.079, allocations: 17.92 kB / 0.9144 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04012/2.119, allocations: 19.61 MB / 0.9336 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/2.119, allocations: 0 / 0.9336 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/2.121, allocations: 0.5355 MB / 0.9341 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/2.133, allocations: 3.672 MB / 0.9377 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006712/2.134, allocations: 63.11 kB / 0.9377 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02537/2.159, allocations: 20.66 MB / 0.9579 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/2.159, allocations: 7.547 kB / 0.9579 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/2.182, allocations: 14.59 MB / 0.9722 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/2.184, allocations: 0.6056 MB / 0.9728 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/2.185, allocations: 59.97 kB / 0.9728 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/2.188, allocations: 203.7 kB / 0.973 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/2.189, allocations: 226.2 kB / 0.9732 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/2.189, allocations: 95.98 kB / 0.9733 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005079/2.194, allocations: 4.131 MB / 0.9774 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/2.194, allocations: 3.781 kB / 0.9774 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008245/2.202, allocations: 1.881 MB / 0.9792 GB, free: 126.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02294/2.225, allocations: 15.5 MB / 0.9943 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01383/2.239, allocations: 9.935 MB / 1.004 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/2.239, allocations: 0 / 1.004 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/2.244, allocations: 3.938 MB / 1.008 GB, free: 96.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/2.248, allocations: 0.7131 MB / 1.009 GB, free: 96.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4118/2.659, allocations: 192.8 MB / 1.197 GB, free: 117.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005195/2.665, allocations: 5.006 MB / 1.202 GB, free: 116.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007003/2.672, allocations: 2.805 MB / 1.204 GB, free: 115.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003987/2.676, allocations: 3.256 MB / 1.208 GB, free: 112.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/2.676, allocations: 0 / 1.208 GB, free: 112.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4418/3.118, allocations: 143.1 MB / 1.347 GB, free: 168.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/3.118, allocations: 209.1 kB / 1.348 GB, free: 168.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.955/9.072, allocations: 0 / 1.348 GB, free: 168.6 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat