Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009528/0.0009528, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009664/0.0009663, allocations: 102 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002555, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2315, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.3589, allocations: 113.1 MB / 489 MB, free: 15.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.3592, allocations: 103.9 kB / 489.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4729/0.8321, allocations: 137.5 MB / 0.612 GB, free: 4.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8322, allocations: 0 / 0.612 GB, free: 4.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003078/0.8325, allocations: 152 kB / 0.6121 GB, free: 4.051 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.02507/0.8576, allocations: 7.754 MB / 0.6197 GB, free: 12.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.8576, allocations: 8.031 kB / 0.6197 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00586/0.8635, allocations: 1.317 MB / 0.621 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.8777, allocations: 3.051 MB / 0.624 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02222/0.9, allocations: 7.751 MB / 0.6315 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/0.9006, allocations: 0.5776 MB / 0.6321 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003469/0.904, allocations: 0.7613 MB / 0.6328 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2539/1.158, allocations: 18.66 MB / 0.6511 GB, free: 50.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004537/1.158, allocations: 79.2 kB / 0.6511 GB, free: 50.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002463/1.161, allocations: 364.6 kB / 0.6515 GB, free: 50.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002232/1.163, allocations: 1.631 MB / 0.6531 GB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03028/1.193, allocations: 15.38 MB / 0.6681 GB, free: 50.41 MB / 410.7 MB 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.08777/1.281, allocations: 76.58 MB / 0.7429 GB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/1.302, allocations: 8.015 MB / 0.7507 GB, free: 19.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02095/1.323, allocations: 15.02 MB / 0.7654 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/1.323, allocations: 71.09 kB / 0.7654 GB, free: 11.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 5.631e-06/1.323, allocations: 0 / 0.7654 GB, free: 11.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=314): time 0.1952/1.518, allocations: 55.92 MB / 0.82 GB, free: 1.758 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/1.518, allocations: 158.5 kB / 0.8202 GB, free: 1.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1814/1.7, allocations: 5.201 MB / 0.8253 GB, free: 100.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006595/1.7, allocations: 72.61 kB / 0.8253 GB, free: 100.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00272/1.703, allocations: 5.028 MB / 0.8302 GB, free: 98.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.704, allocations: 1.191 MB / 0.8314 GB, free: 97.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005931/1.705, allocations: 184.8 kB / 0.8316 GB, free: 97.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003596/1.705, allocations: 0.6819 MB / 0.8322 GB, free: 97.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/1.71, allocations: 4.096 MB / 0.8362 GB, free: 97.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006613/1.717, allocations: 9.354 MB / 0.8454 GB, free: 90.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00724/1.724, allocations: 5.969 MB / 0.8512 GB, free: 90.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-05/1.724, allocations: 53.75 kB / 0.8513 GB, free: 90.64 MB / 458.7 MB Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.2148655148851041 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.09960050292505122) * bodyOfConstraint.v_0[2] + 0.5648625214636235 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[3] = (-0.1411940808771254) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.2148655148851041 , 0.0 , 1.0 ; -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 1.0 , 0.1411940808771254 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[3] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[2] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1172) (initialization): time 0.06502/1.789, allocations: 24.55 MB / 0.8752 GB, free: 89.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.789, allocations: 88.61 kB / 0.8753 GB, free: 89.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.79, allocations: 188.1 kB / 0.8755 GB, free: 89.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01476/1.804, allocations: 5.463 MB / 0.8808 GB, free: 88.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008767/1.813, allocations: 2.119 MB / 0.8829 GB, free: 88.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0402/1.853, allocations: 34.49 MB / 0.9166 GB, free: 69.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007475/1.861, allocations: 0.6305 MB / 0.9172 GB, free: 69.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.862, allocations: 0.5151 MB / 0.9177 GB, free: 69.15 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1078 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,60.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.006147/1.869, allocations: 3.406 MB / 0.921 GB, free: 66.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.87, allocations: 0.5283 MB / 0.9215 GB, free: 65.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05424/1.924, allocations: 17.63 MB / 0.9388 GB, free: 53.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.738e-05/1.924, allocations: 51.64 kB / 0.9388 GB, free: 53.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/1.924, allocations: 11.5 kB / 0.9388 GB, free: 53.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.244e-05/1.924, allocations: 21.83 kB / 0.9388 GB, free: 53.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.072/1.996, allocations: 28.52 MB / 0.9667 GB, free: 28.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/1.996, allocations: 4 kB / 0.9667 GB, free: 28.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/1.999, allocations: 0.5767 MB / 0.9673 GB, free: 27.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01363/2.013, allocations: 5.194 MB / 0.9723 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007028/2.014, allocations: 55.98 kB / 0.9724 GB, free: 22.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2245/2.238, allocations: 34 MB / 1.006 GB, free: 81.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/2.238, allocations: 11.31 kB / 1.006 GB, free: 81.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.062/2.3, allocations: 22.7 MB / 1.028 GB, free: 80.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/2.304, allocations: 1.207 MB / 1.029 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009044/2.305, allocations: 47.78 kB / 1.029 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/2.308, allocations: 314.8 kB / 1.029 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007207/2.309, allocations: 196.9 kB / 1.029 GB, free: 80.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/2.309, allocations: 84.42 kB / 1.03 GB, free: 80.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004987/2.314, allocations: 3.628 MB / 1.033 GB, free: 80.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.314, allocations: 0 / 1.033 GB, free: 80.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007517/2.321, allocations: 1.919 MB / 1.035 GB, free: 80.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[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 (235): * Single equations (assignments): 224 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.06023/2.382, allocations: 23.63 MB / 1.058 GB, free: 74.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01884/2.4, allocations: 11.35 MB / 1.069 GB, free: 70.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/2.401, allocations: 0 / 1.069 GB, free: 70.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01004/2.411, allocations: 5.265 MB / 1.074 GB, free: 66.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/2.414, allocations: 0.7446 MB / 1.075 GB, free: 66.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3395/2.754, allocations: 202.6 MB / 1.273 GB, free: 11.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00635/2.76, allocations: 5.339 MB / 1.278 GB, free: 10.63 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007427/2.768, allocations: 2.799 MB / 1.281 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004547/2.772, allocations: 3.368 MB / 1.284 GB, free: 10.57 MB / 474.7 MB Notification: Performance of SimCode: time 7.21e-07/2.772, allocations: 0 / 1.284 GB, free: 10.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3744/3.146, allocations: 155 MB / 1.435 GB, free: 50.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00012/3.147, allocations: 242.8 kB / 1.436 GB, free: 50.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.444/8.591, allocations: 4.062 kB / 1.436 GB, free: 50.48 MB / 474.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat