Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008339, allocations: 96.25 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009583/0.0009583, allocations: 193 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003804, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 63.46 MB / 481.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.3526/0.5043, allocations: 78.74 MB / 0.5472 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04862/0.553, allocations: 16.32 MB / 0.5632 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02419/0.5772, allocations: 385.6 kB / 0.5636 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01524/0.5925, allocations: 4.105 MB / 0.5676 GB, free: 96 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03834/0.6309, allocations: 11.95 MB / 0.5792 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00676/0.6377, allocations: 1.045 MB / 0.5803 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1168/0.7545, allocations: 91.95 MB / 0.67 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.7668, allocations: 7.896 MB / 0.6778 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.7718, allocations: 2.121 MB / 0.6798 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005571/0.7774, allocations: 3.26 MB / 0.683 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.7788, allocations: 228 kB / 0.6832 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.782, allocations: 1.01 MB / 0.6842 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.7856, allocations: 2.754 MB / 0.6869 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.788, allocations: 1.306 MB / 0.6882 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.7994, allocations: 9.216 MB / 0.6972 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.7995, allocations: 0 / 0.6972 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7995, allocations: 3.938 kB / 0.6972 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004322/0.7999, allocations: 0 / 0.6972 GB, free: 11.09 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2149 * Number of variables: 2149 Notification: Performance of Generate backend data structure: time 0.02015/0.8201, allocations: 7.035 MB / 0.7041 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.8202, allocations: 12.02 kB / 0.7041 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003821/0.824, allocations: 1.021 MB / 0.7051 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4758/1.3, allocations: 18.45 MB / 0.7231 GB, free: 188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/1.314, allocations: 5.837 MB / 0.7288 GB, free: 185 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/1.315, allocations: 373.9 kB / 0.7291 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/1.317, allocations: 0.5169 MB / 0.7296 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02899/1.346, allocations: 15.34 MB / 0.7446 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.346, allocations: 67.42 kB / 0.7447 GB, free: 168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/1.348, allocations: 232.3 kB / 0.7449 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004776/1.352, allocations: 2.786 MB / 0.7476 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02769/1.38, allocations: 13.83 MB / 0.7611 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07704/1.457, allocations: 61.24 MB / 0.8209 GB, free: 88.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02413/1.481, allocations: 7.054 MB / 0.8278 GB, free: 81.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006436/1.488, allocations: 5.38 MB / 0.8331 GB, free: 76.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03874/1.527, allocations: 17.74 MB / 0.8504 GB, free: 58.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.875e-05/1.527, allocations: 72.45 kB / 0.8505 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=289): time 9.107e-06/1.527, allocations: 0 / 0.8505 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=383): time 0.4292/1.956, allocations: 60.18 MB / 0.9093 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.956, allocations: 330.9 kB / 0.9096 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.968, allocations: 5.827 MB / 0.9153 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.969, allocations: 85.33 kB / 0.9153 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00366/1.973, allocations: 4.297 MB / 0.9195 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002591/1.976, allocations: 1.386 MB / 0.9209 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000792/1.977, allocations: 165.9 kB / 0.921 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004679/1.977, allocations: 0.6484 MB / 0.9217 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009232/1.986, allocations: 5.041 MB / 0.9266 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01107/1.997, allocations: 9.356 MB / 0.9357 GB, free: 156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/2.008, allocations: 6.746 MB / 0.9423 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/2.009, allocations: 41.12 kB / 0.9424 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.03709/2.046, allocations: 19.12 MB / 0.961 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/2.046, allocations: 66.34 kB / 0.9611 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/2.046, allocations: 147.3 kB / 0.9612 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01396/2.06, allocations: 5.571 MB / 0.9667 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007073/2.067, allocations: 1.938 MB / 0.9686 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03091/2.098, allocations: 27.48 MB / 0.9954 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00792/2.106, allocations: 0.6054 MB / 0.996 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.108, allocations: 480.5 kB / 0.9965 GB, free: 109.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 59 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (963): * Single equations (assignments): 957 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006088/2.114, allocations: 3.084 MB / 0.9995 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/2.116, allocations: 0.5361 MB / 1 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02378/2.139, allocations: 14.1 MB / 1.014 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-05/2.14, allocations: 40.62 kB / 1.014 GB, free: 92.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.382e-05/2.14, allocations: 19.95 kB / 1.014 GB, free: 92.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.921e-05/2.14, allocations: 15.94 kB / 1.014 GB, free: 92.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04207/2.182, allocations: 24.57 MB / 1.038 GB, free: 67.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.774e-05/2.182, allocations: 0 / 1.038 GB, free: 67.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003628/2.185, allocations: 0.6552 MB / 1.038 GB, free: 66.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01383/2.199, allocations: 5.328 MB / 1.044 GB, free: 61.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/2.201, allocations: 71.95 kB / 1.044 GB, free: 61.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03196/2.233, allocations: 26.85 MB / 1.07 GB, free: 34.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.233, allocations: 4 kB / 1.07 GB, free: 34.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03153/2.264, allocations: 20.86 MB / 1.09 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/2.266, allocations: 0.6073 MB / 1.091 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002258/2.269, allocations: 67.2 kB / 1.091 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00435/2.273, allocations: 371.4 kB / 1.091 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/2.274, allocations: 250.7 kB / 1.092 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004096/2.275, allocations: 95.98 kB / 1.092 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006568/2.281, allocations: 3.742 MB / 1.095 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/2.281, allocations: 0 / 1.095 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01003/2.291, allocations: 1.928 MB / 1.097 GB, free: 6.117 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (293): * Single equations (assignments): 287 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3286/2.62, allocations: 21.58 MB / 1.118 GB, free: 171.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02449/2.644, allocations: 13.17 MB / 1.131 GB, free: 166.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.644, allocations: 5.297 kB / 1.131 GB, free: 166.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01195/2.656, allocations: 6.497 MB / 1.137 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007694/2.664, allocations: 0.753 MB / 1.138 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.122/2.786, allocations: 71.8 MB / 1.208 GB, free: 99.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004999/2.791, allocations: 4.817 MB / 1.213 GB, free: 94.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006829/2.798, allocations: 2.886 MB / 1.216 GB, free: 91.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004828/2.803, allocations: 3.088 MB / 1.219 GB, free: 88.76 MB / 0.545 GB Notification: Performance of SimCode: time 2.004e-06/2.803, allocations: 4 kB / 1.219 GB, free: 88.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5015/3.304, allocations: 153.3 MB / 1.369 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/3.305, allocations: 216.2 kB / 1.369 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.912/9.217, allocations: 0 / 1.369 GB, free: 158.4 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat