Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL",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.001026/0.001026, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.386/1.386, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008429/0.000843, allocations: 78.72 kB / 267.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.692e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09642, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.4027, allocations: 82.41 MB / 452.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.4031, allocations: 67.59 kB / 452.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06221/0.4653, allocations: 32.82 MB / 485.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4654, allocations: 0 / 485.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.858e-05/0.4654, allocations: 16 kB / 485.4 MB, free: 11.48 MB / 362.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.001364/0.4668, allocations: 1.299 MB / 486.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4668, allocations: 12.03 kB / 486.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.314e-05/0.4669, allocations: 58.55 kB / 486.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.4671, allocations: 138.4 kB / 486.9 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.4679, allocations: 0.509 MB / 487.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.4679, allocations: 24 kB / 487.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/0.468, allocations: 28 kB / 487.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.469, allocations: 0.6183 MB / 488.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.469, allocations: 3.938 kB / 488.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.469, allocations: 16 kB / 488.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4691, allocations: 4 kB / 488.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.4697, allocations: 461.1 kB / 488.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4713, allocations: 1.099 MB / 489.7 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.4721, allocations: 0.6954 MB / 490.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.4729, allocations: 0.6842 MB / 491.1 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4729, allocations: 0 / 491.1 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009102/0.4738, allocations: 0.7554 MB / 491.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.734e-06/0.4738, allocations: 0 / 491.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002131/0.476, allocations: 1.415 MB / 493.2 MB, free: 3.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002783/0.4762, allocations: 332.9 kB / 493.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.4786, allocations: 1.594 MB / 495.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.4787, allocations: 45.7 kB / 495.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.479, allocations: 234.4 kB / 495.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.4791, allocations: 91.17 kB / 495.5 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.4791, allocations: 8 kB / 495.5 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.4794, allocations: 382.7 kB / 495.9 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.4801, allocations: 452 kB / 496.3 MB, free: 140 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.4807, allocations: 448.2 kB / 496.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.4814, allocations: 0.588 MB / 497.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4814, allocations: 0 / 497.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001799/0.4832, allocations: 1.347 MB / 498.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.4834, allocations: 293.5 kB / 499 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4834, allocations: 0 / 499 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4835, allocations: 0 / 499 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.4835, allocations: 11.94 kB / 499 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4835, allocations: 0 / 499 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.4839, allocations: 51.81 kB / 499.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.4841, allocations: 151.9 kB / 499.2 MB, free: 13.11 MB / 378.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.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.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.0004438/0.4846, allocations: 466.3 kB / 499.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.4847, allocations: 130.5 kB / 499.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.4851, allocations: 255.7 kB / 0.4883 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4852, allocations: 4 kB / 0.4883 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4852, allocations: 0 / 0.4883 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4852, allocations: 0 / 0.4883 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.4884, allocations: 2.403 MB / 0.4907 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4884, allocations: 0 / 0.4907 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.4884, allocations: 0 / 0.4907 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4884, allocations: 0 / 0.4907 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/0.4885, allocations: 39.97 kB / 0.4907 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4885, allocations: 0 / 0.4907 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4885, allocations: 4 kB / 0.4907 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.4907, allocations: 1.618 MB / 0.4923 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.4919, allocations: 0.6823 MB / 0.493 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.4921, allocations: 67.95 kB / 0.493 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.4925, allocations: 35.97 kB / 0.4931 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006136/0.4931, allocations: 355.6 kB / 0.4934 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/0.4933, allocations: 155.9 kB / 0.4935 GB, free: 6.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002169/0.4955, allocations: 1.327 MB / 0.4948 GB, free: 5.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.893e-06/0.4955, allocations: 0 / 0.4948 GB, free: 5.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005536/0.4961, allocations: 147.9 kB / 0.495 GB, free: 5.184 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,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.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.002913/0.499, allocations: 2.261 MB / 0.4972 GB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.5013, allocations: 1.921 MB / 0.4991 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5014, allocations: 0 / 0.4991 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.5028, allocations: 1.386 MB / 0.5004 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5041, allocations: 296.9 kB / 0.5007 GB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.5092, allocations: 2.715 MB / 0.5034 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.5105, allocations: 1.221 MB / 0.5045 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003649/0.5109, allocations: 147 kB / 0.5047 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.5111, allocations: 151.4 kB / 0.5048 GB, free: 10.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5111, allocations: 0 / 0.5048 GB, free: 10.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.5522, allocations: 22.04 MB / 0.5264 GB, free: 4.254 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.5524, allocations: 152.4 kB / 0.5265 GB, free: 4.027 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.765, allocations: 0 / 0.5265 GB, free: 4.027 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat does not exist to compare? outputFormat=mat