Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.Electrical.Digital.Examples.DFFREGSRH,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRH,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRH",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.001033/0.001033, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 90.7 kB / 262.5 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.02e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09242, allocations: 47.59 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4118, allocations: 81.96 MB / 445.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4121, allocations: 67.64 kB / 445.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05512/0.4672, allocations: 31.07 MB / 476.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4673, allocations: 0 / 476.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.04e-05/0.4673, allocations: 16 kB / 476.3 MB, free: 3.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001273/0.4686, allocations: 1.305 MB / 477.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4686, allocations: 8.031 kB / 477.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.4688, allocations: 130.4 kB / 477.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.4695, allocations: 0.5129 MB / 478.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.4695, allocations: 19.12 kB / 478.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.4696, allocations: 20 kB / 478.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005639/0.4702, allocations: 453.6 kB / 478.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.471, allocations: 0.5879 MB / 479.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.471, allocations: 0 / 479.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.4711, allocations: 19.3 kB / 479.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.4711, allocations: 4 kB / 479.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.4725, allocations: 1.046 MB / 480.4 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.4732, allocations: 0.6745 MB / 481 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.474, allocations: 0.6608 MB / 481.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.474, allocations: 4 kB / 481.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000898/0.4749, allocations: 0.7516 MB / 482.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.865e-06/0.4749, allocations: 0 / 482.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001696/0.4766, allocations: 1.105 MB / 483.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.4768, allocations: 324.9 kB / 483.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.4791, allocations: 1.542 MB / 485.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.411e-05/0.4792, allocations: 41.7 kB / 485.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.4794, allocations: 222.5 kB / 485.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4795, allocations: 87.06 kB / 485.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.4796, allocations: 12 kB / 485.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4798, allocations: 390.7 kB / 486.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.4804, allocations: 432 kB / 486.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.4809, allocations: 435.9 kB / 487 MB, free: 9.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.4813, allocations: 304.5 kB / 487.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4813, allocations: 0 / 487.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001419/0.4827, allocations: 1.025 MB / 488.3 MB, free: 8.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.4829, allocations: 289.5 kB / 488.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4829, allocations: 0 / 488.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.483, allocations: 4 kB / 488.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.302e-05/0.483, allocations: 7.938 kB / 488.6 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.483, allocations: 4 kB / 488.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.4834, allocations: 43.89 kB / 488.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.4836, allocations: 155.9 kB / 488.8 MB, free: 7.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003948/0.484, allocations: 470.4 kB / 489.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001536/0.4855, allocations: 1.164 MB / 490.4 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4857, allocations: 130.5 kB / 490.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/0.4863, allocations: 244 kB / 490.8 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4863, allocations: 4 kB / 490.8 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4863, allocations: 0 / 490.8 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4863, allocations: 3.984 kB / 490.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.4889, allocations: 2.013 MB / 492.8 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4889, allocations: 7.984 kB / 492.8 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.4889, allocations: 0 / 492.8 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4889, allocations: 4 kB / 492.8 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/0.489, allocations: 35.98 kB / 492.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.489, allocations: 0 / 492.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.489, allocations: 0 / 492.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4906, allocations: 1.265 MB / 494.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009753/0.4916, allocations: 0.6785 MB / 494.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.4918, allocations: 63.97 kB / 494.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.4922, allocations: 43.8 kB / 494.9 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005228/0.4927, allocations: 351.7 kB / 495.3 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.4929, allocations: 167.8 kB / 495.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001776/0.4947, allocations: 1.259 MB / 496.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4947, allocations: 0 / 496.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005483/0.4952, allocations: 144 kB / 496.8 MB, free: 15.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/0.4972, allocations: 1.919 MB / 498.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.4992, allocations: 1.866 MB / 0.4889 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4992, allocations: 0 / 0.4889 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.5004, allocations: 1.37 MB / 0.4902 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5017, allocations: 310.4 kB / 0.4905 GB, free: 9.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.506, allocations: 2.671 MB / 0.4931 GB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.507, allocations: 1.217 MB / 0.4943 GB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003263/0.5074, allocations: 195 kB / 0.4945 GB, free: 5.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.5075, allocations: 147.4 kB / 0.4946 GB, free: 5.375 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5075, allocations: 0 / 0.4946 GB, free: 5.375 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/0.5515, allocations: 20.85 MB / 0.515 GB, free: 100 kB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.5518, allocations: 133 kB / 0.5151 GB, free: 15.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.755, allocations: 0 / 0.5151 GB, free: 15.91 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRH_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRH.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat does not exist to compare? outputFormat=mat