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.001046/0.001046, allocations: 180.5 kB / 17.01 MB, free: 5.125 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.33/1.33, allocations: 205.4 MB / 223.1 MB, free: 9.031 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.0008944/0.0008945, allocations: 96.09 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002416/0.0002415, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2215, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09424/0.3158, allocations: 82.47 MB / 458.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.316, allocations: 67.97 kB / 458.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0559/0.3719, allocations: 31.11 MB / 489.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.372, allocations: 0 / 489.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.005e-05/0.372, allocations: 20 kB / 489.6 MB, free: 15 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002054/0.3741, allocations: 1.496 MB / 491.1 MB, free: 13.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3741, allocations: 8.031 kB / 491.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.3743, allocations: 58.55 kB / 491.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.3745, allocations: 126.5 kB / 491.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.3755, allocations: 0.5168 MB / 491.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.3755, allocations: 23.98 kB / 491.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.3756, allocations: 28 kB / 491.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3767, allocations: 0.6307 MB / 492.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3767, allocations: 3.938 kB / 492.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.3768, allocations: 19.98 kB / 492.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3768, allocations: 0 / 492.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.3775, allocations: 471.7 kB / 492.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.3798, allocations: 1.084 MB / 494 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.3807, allocations: 0.7014 MB / 494.7 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.3807, allocations: 144 / 494.7 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.3817, allocations: 0.7771 MB / 495.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.923e-06/0.3817, allocations: 0 / 495.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002689/0.3844, allocations: 2.129 MB / 497.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.3846, allocations: 325 kB / 497.9 MB, free: 6.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.3867, allocations: 1.615 MB / 499.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.772e-05/0.3868, allocations: 49.69 kB / 499.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.3871, allocations: 234.5 kB / 499.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3872, allocations: 90.98 kB / 499.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.3873, allocations: 12 kB / 499.9 MB, free: 4.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3874, allocations: 382.7 kB / 0.4886 GB, free: 3.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.388, allocations: 447.9 kB / 0.489 GB, free: 3.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/0.3887, allocations: 482.7 kB / 0.4895 GB, free: 2.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.3894, allocations: 0.5945 MB / 0.49 GB, free: 2.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3894, allocations: 4 kB / 0.4901 GB, free: 2.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001797/0.3912, allocations: 1.349 MB / 0.4914 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002266/0.3914, allocations: 289.5 kB / 0.4916 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3914, allocations: 0 / 0.4916 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.3915, allocations: 11.94 kB / 0.4917 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.723e-05/0.3915, allocations: 7.938 kB / 0.4917 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3915, allocations: 3.984 kB / 0.4917 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.3919, allocations: 47.94 kB / 0.4917 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.3921, allocations: 159.9 kB / 0.4919 GB, free: 248 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 43 ($PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,$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,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,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 () * Number of clocked 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.2022/0.5943, allocations: 0.9788 MB / 0.4928 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.5947, allocations: 131.4 kB / 0.4929 GB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000656/0.5953, allocations: 254.4 kB / 0.4932 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5954, allocations: 5.141 kB / 0.4932 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5954, allocations: 0 / 0.4932 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5954, allocations: 0.5938 kB / 0.4932 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.5989, allocations: 2.428 MB / 0.4956 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5989, allocations: 1.125 kB / 0.4956 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.5989, allocations: 1.094 kB / 0.4956 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5989, allocations: 1 kB / 0.4956 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.598e-05/0.599, allocations: 42.73 kB / 0.4956 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.599, allocations: 0.8125 kB / 0.4956 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.599, allocations: 1.219 kB / 0.4956 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.6012, allocations: 1.621 MB / 0.4972 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.6025, allocations: 0.6877 MB / 0.4979 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.6027, allocations: 65.84 kB / 0.4979 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.6031, allocations: 36.22 kB / 0.498 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/0.6036, allocations: 356 kB / 0.4983 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.6038, allocations: 157.9 kB / 0.4985 GB, free: 103.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002031/0.6058, allocations: 1.331 MB / 0.4998 GB, free: 103.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.001e-06/0.6058, allocations: 0 / 0.4998 GB, free: 103.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006141/0.6065, allocations: 153.1 kB / 0.4999 GB, free: 103.1 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) * Number of clocked states: 0 () * 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.002621/0.6091, allocations: 2.283 MB / 0.5021 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.6112, allocations: 1.935 MB / 0.504 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6112, allocations: 0 / 0.504 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.6124, allocations: 1.402 MB / 0.5054 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.6136, allocations: 303.4 kB / 0.5057 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.6246, allocations: 7.269 MB / 0.5128 GB, free: 96.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/0.6255, allocations: 1.226 MB / 0.514 GB, free: 95.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004527/0.626, allocations: 193.7 kB / 0.5142 GB, free: 95.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.6262, allocations: 148.9 kB / 0.5143 GB, free: 95.83 MB / 378.7 MB Notification: Performance of SimCode: time 3.096e-06/0.6262, allocations: 2.078 kB / 0.5143 GB, free: 95.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.6616, allocations: 22.22 MB / 0.536 GB, free: 76.94 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.6618, allocations: 176 kB / 0.5362 GB, free: 76.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.051, allocations: 4.062 kB / 0.5362 GB, free: 76.7 MB / 378.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