Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.0009199/0.00092, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008686/0.0008687, allocations: 183.5 kB / 16.59 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3515/0.3515, allocations: 43.55 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005082, allocations: 27.92 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4783/0.6135, allocations: 163.8 MB / 0.5925 GB, free: 7.902 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007794/0.6214, allocations: 5.483 MB / 0.5978 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009937/0.6224, allocations: 19.81 kB / 0.5979 GB, free: 2.391 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000836/0.6233, allocations: 262.4 kB / 0.5981 GB, free: 2.133 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00347/0.6267, allocations: 1.357 MB / 0.5994 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.6294, allocations: 0.9734 MB / 0.6004 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.6319, allocations: 2.246 MB / 0.6026 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006468/0.6326, allocations: 374.1 kB / 0.6029 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.635, allocations: 1.05 MB / 0.604 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.6361, allocations: 0.7356 MB / 0.6047 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.6362, allocations: 32 kB / 0.6047 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.6378, allocations: 0.6006 MB / 0.6053 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.6381, allocations: 231.3 kB / 0.6055 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.6383, allocations: 165.4 kB / 0.6057 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.6395, allocations: 1.001 MB / 0.6067 GB, free: 9.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6395, allocations: 0 / 0.6067 GB, free: 9.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6395, allocations: 0 / 0.6067 GB, free: 9.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.6395, allocations: 4 kB / 0.6067 GB, free: 9.379 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001929/0.6414, allocations: 0.9871 MB / 0.6076 GB, free: 8.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.6415, allocations: 8.031 kB / 0.6076 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.6416, allocations: 98.5 kB / 0.6077 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007321/0.6424, allocations: 127.1 kB / 0.6078 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.6431, allocations: 0.4928 MB / 0.6083 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.902e-05/0.6432, allocations: 102.3 kB / 0.6084 GB, free: 7.457 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.915e-05/0.6433, allocations: 51.94 kB / 0.6085 GB, free: 7.406 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.6445, allocations: 0.8135 MB / 0.6093 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.6445, allocations: 7.938 kB / 0.6093 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.6446, allocations: 27.98 kB / 0.6093 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/0.6447, allocations: 40.92 kB / 0.6093 GB, free: 6.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6457, allocations: 0.6205 MB / 0.6099 GB, free: 5.824 MB / 478.1 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.004782/0.6505, allocations: 3.97 MB / 0.6138 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.6511, allocations: 347.7 kB / 0.6142 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.6514, allocations: 177.2 kB / 0.6143 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/0.652, allocations: 361.5 kB / 0.6147 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.6521, allocations: 42.84 kB / 0.6147 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.025e-06/0.6521, allocations: 0 / 0.6147 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005259/0.6574, allocations: 1.674 MB / 0.6163 GB, free: 14.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.6575, allocations: 136.5 kB / 0.6165 GB, free: 14.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.6582, allocations: 0.6016 MB / 0.6171 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.6582, allocations: 37.7 kB / 0.6171 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.6585, allocations: 370.9 kB / 0.6174 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.6586, allocations: 142 kB / 0.6176 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.6586, allocations: 12 kB / 0.6176 GB, free: 13.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6588, allocations: 374.8 kB / 0.618 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.6591, allocations: 197.9 kB / 0.6181 GB, free: 12.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.6597, allocations: 0.5164 MB / 0.6186 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.6601, allocations: 287.8 kB / 0.6189 GB, free: 12.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6601, allocations: 3.938 kB / 0.6189 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001335/0.6615, allocations: 0.8766 MB / 0.6198 GB, free: 11.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6615, allocations: 12 kB / 0.6198 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.6615, allocations: 8 kB / 0.6198 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.6628, allocations: 320.9 kB / 0.6201 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.6632, allocations: 115.8 kB / 0.6202 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.6642, allocations: 0.9453 MB / 0.6211 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.6647, allocations: 51.11 kB / 0.6212 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.6648, allocations: 67.98 kB / 0.6213 GB, free: 9.617 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003383/0.6652, allocations: 241.5 kB / 0.6215 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.6653, allocations: 71.16 kB / 0.6216 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.6667, allocations: 0.6747 MB / 0.6222 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6667, allocations: 9 kB / 0.6222 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6667, allocations: 0 / 0.6222 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.6667, allocations: 0 / 0.6222 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.6689, allocations: 1.607 MB / 0.6238 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6689, allocations: 4 kB / 0.6238 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.6699, allocations: 207.8 kB / 0.624 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-05/0.67, allocations: 28.97 kB / 0.624 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.6701, allocations: 21.98 kB / 0.624 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.672, allocations: 2.688 MB / 0.6267 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.672, allocations: 4.094 kB / 0.6267 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.6732, allocations: 0.7998 MB / 0.6274 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.6734, allocations: 192.2 kB / 0.6276 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.499e-05/0.6735, allocations: 12.06 kB / 0.6276 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.6739, allocations: 27.97 kB / 0.6277 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.674, allocations: 35.91 kB / 0.6277 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.6741, allocations: 43.97 kB / 0.6277 GB, free: 2.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004965/0.6746, allocations: 431 kB / 0.6282 GB, free: 2.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6746, allocations: 0 / 0.6282 GB, free: 2.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001023/0.6756, allocations: 299.9 kB / 0.6284 GB, free: 1.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002099/0.6777, allocations: 1.59 MB / 0.63 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2184/0.8962, allocations: 0.5342 MB / 0.6305 GB, free: 154.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.8962, allocations: 2.969 kB / 0.6305 GB, free: 154.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009527/0.8972, allocations: 421.2 kB / 0.6309 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.8988, allocations: 332.6 kB / 0.6312 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.9043, allocations: 4.24 MB / 0.6354 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.9046, allocations: 0.9312 MB / 0.6363 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.9057, allocations: 259.9 kB / 0.6365 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.9061, allocations: 274.2 kB / 0.6368 GB, free: 152.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.9062, allocations: 0 / 0.6368 GB, free: 152.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.9644, allocations: 23.75 MB / 0.66 GB, free: 148.1 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.9646, allocations: 291 kB / 0.6603 GB, free: 147.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.164, allocations: 0 / 0.6603 GB, free: 147.8 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat