Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2",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.0008112/0.0008111, allocations: 96.86 kB / 15.7 MB, free: 468 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.0008667/0.0008668, allocations: 172.5 kB / 16.58 MB, free: 5.922 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.444/1.444, allocations: 205.4 MB / 222.7 MB, free: 5.625 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.343/0.343, allocations: 43.54 MB / 314.6 MB, free: 8.75 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.0005651/0.0005652, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1231, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.2959/0.4191, allocations: 114.2 MB / 0.5441 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05585/0.475, allocations: 22.58 MB / 0.5661 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02845/0.5035, allocations: 0.5222 MB / 0.5666 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02088/0.5244, allocations: 6.04 MB / 0.5725 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04845/0.5729, allocations: 17.43 MB / 0.5895 GB, free: 9.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007702/0.5806, allocations: 1.239 MB / 0.5907 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.3606/0.9413, allocations: 67.67 MB / 0.6568 GB, free: 40.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.9537, allocations: 10.07 MB / 0.6667 GB, free: 39.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004349/0.9581, allocations: 2.679 MB / 0.6693 GB, free: 39.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005711/0.9638, allocations: 4.314 MB / 0.6735 GB, free: 39.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.9656, allocations: 315.6 kB / 0.6738 GB, free: 39.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.9695, allocations: 1.174 MB / 0.6749 GB, free: 39.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005509/0.975, allocations: 3.744 MB / 0.6786 GB, free: 39.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00322/0.9783, allocations: 1.737 MB / 0.6803 GB, free: 38.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.989, allocations: 11.89 MB / 0.6919 GB, free: 28.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9891, allocations: 0 / 0.6919 GB, free: 28.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.9891, allocations: 0 / 0.6919 GB, free: 28.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004525/0.9896, allocations: 0 / 0.6919 GB, free: 28.15 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.01809/1.008, allocations: 8.683 MB / 0.7004 GB, free: 20.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.008, allocations: 8.031 kB / 0.7004 GB, free: 20.15 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003926/1.012, allocations: 1.39 MB / 0.7018 GB, free: 19.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05711/1.069, allocations: 10.83 MB / 0.7123 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.082, allocations: 7.975 MB / 0.7201 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/1.082, allocations: 0.4887 MB / 0.7206 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/1.083, allocations: 0.6678 MB / 0.7212 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/1.116, allocations: 19.64 MB / 0.7404 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002453/1.116, allocations: 86.73 kB / 0.7405 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007268/1.117, allocations: 312.9 kB / 0.7408 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005417/1.122, allocations: 3.612 MB / 0.7443 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/1.153, allocations: 16.19 MB / 0.7601 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09228/1.246, allocations: 72.17 MB / 0.8306 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01883/1.265, allocations: 8.246 MB / 0.8387 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005454/1.27, allocations: 4.292 MB / 0.8429 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006467/1.271, allocations: 0.6628 MB / 0.8435 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/1.271, allocations: 71.12 kB / 0.8436 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=311): time 4.688e-06/1.271, allocations: 4 kB / 0.8436 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=335): time 0.4417/1.712, allocations: 32 MB / 0.8748 GB, free: 229.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/1.713, allocations: 300.6 kB / 0.8751 GB, free: 228.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009612/1.722, allocations: 7.813 MB / 0.8828 GB, free: 227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000804/1.723, allocations: 76.42 kB / 0.8828 GB, free: 227 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003607/1.727, allocations: 5.851 MB / 0.8886 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.728, allocations: 1.262 MB / 0.8898 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/1.729, allocations: 195 kB / 0.89 GB, free: 221.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000416/1.729, allocations: 0.7071 MB / 0.8907 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005565/1.735, allocations: 3.651 MB / 0.8942 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008025/1.743, allocations: 9.328 MB / 0.9033 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008463/1.751, allocations: 5.677 MB / 0.9089 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/1.751, allocations: 57.97 kB / 0.9089 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.02476/1.776, allocations: 13.76 MB / 0.9224 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/1.776, allocations: 89.38 kB / 0.9225 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/1.777, allocations: 197.4 kB / 0.9226 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/1.779, allocations: 1.343 MB / 0.924 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006293/1.785, allocations: 2.239 MB / 0.9261 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.796, allocations: 12.72 MB / 0.9386 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007485/1.803, allocations: 0.5331 MB / 0.9391 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.805, allocations: 0.5655 MB / 0.9396 GB, free: 193.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1174): * Single equations (assignments): 1167 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006737/1.811, allocations: 3.885 MB / 0.9434 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.813, allocations: 0.6787 MB / 0.9441 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009309/1.822, allocations: 6.501 MB / 0.9504 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.822, allocations: 32 kB / 0.9505 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/1.822, allocations: 12 kB / 0.9505 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/1.822, allocations: 15.14 kB / 0.9505 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/1.85, allocations: 15.9 MB / 0.966 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.85, allocations: 0 / 0.966 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.852, allocations: 0.5695 MB / 0.9666 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/1.854, allocations: 0.9844 MB / 0.9675 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003433/1.855, allocations: 65.47 kB / 0.9676 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00969/1.864, allocations: 11.55 MB / 0.9789 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.864, allocations: 0 / 0.9789 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/1.879, allocations: 10.54 MB / 0.9892 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003029/1.882, allocations: 1.23 MB / 0.9904 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.884, allocations: 55.88 kB / 0.9904 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.887, allocations: 213.1 kB / 0.9906 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006283/1.888, allocations: 194.3 kB / 0.9908 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000386/1.888, allocations: 83.98 kB / 0.9909 GB, free: 143 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007975/1.896, allocations: 4.989 MB / 0.9958 GB, free: 138 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.21e-07/1.896, allocations: 0 / 0.9958 GB, free: 138 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009822/1.906, allocations: 1.911 MB / 0.9976 GB, free: 136.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.921, allocations: 11.24 MB / 1.009 GB, free: 124.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.933, allocations: 9.224 MB / 1.018 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.933, allocations: 5.172 kB / 1.018 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003897/1.937, allocations: 3.377 MB / 1.021 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006771/1.944, allocations: 0.9799 MB / 1.022 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/2.055, allocations: 77.46 MB / 1.098 GB, free: 26.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008049/2.064, allocations: 5.948 MB / 1.103 GB, free: 20.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008301/2.072, allocations: 3.09 MB / 1.106 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006293/2.078, allocations: 4.061 MB / 1.11 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of SimCode: time 2.134e-06/2.078, allocations: 0 / 1.11 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.54/5.618, allocations: 152.5 MB / 1.259 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/5.618, allocations: 201.9 kB / 1.259 GB, free: 122.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/12.77, allocations: 0 / 1.259 GB, free: 122.6 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat