Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.001159/0.001159, allocations: 111 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 197.3 kB / 18.25 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.17 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.97 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3481/0.4817, allocations: 83.27 MB / 0.5391 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04168/0.5235, allocations: 16.4 MB / 0.5552 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02107/0.5446, allocations: 381.8 kB / 0.5555 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008522/0.5532, allocations: 4.497 MB / 0.5599 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007135/0.5604, allocations: 2.291 MB / 0.5622 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.5634, allocations: 1.229 MB / 0.5634 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01245/0.5759, allocations: 9.128 MB / 0.5723 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007979/0.5839, allocations: 5.789 MB / 0.5779 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.5892, allocations: 2.675 MB / 0.5805 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005977/0.5953, allocations: 3.552 MB / 0.584 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.5969, allocations: 0.4922 MB / 0.5845 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.6002, allocations: 1.284 MB / 0.5857 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004366/0.6046, allocations: 2.884 MB / 0.5886 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005876/0.6105, allocations: 3.186 MB / 0.5917 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.621, allocations: 9.319 MB / 0.6008 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.6211, allocations: 0 / 0.6008 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6211, allocations: 0 / 0.6008 GB, free: 13.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002922/0.6214, allocations: 0 / 0.6008 GB, free: 13.35 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02122/0.6426, allocations: 7.511 MB / 0.6081 GB, free: 5.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6427, allocations: 15.97 kB / 0.6081 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00161/0.6443, allocations: 0.7349 MB / 0.6088 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0635/0.7078, allocations: 8.911 MB / 0.6175 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.722, allocations: 6.61 MB / 0.624 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.7223, allocations: 337.7 kB / 0.6243 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.7237, allocations: 415.6 kB / 0.6247 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.7435, allocations: 10.75 MB / 0.6352 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001641/0.7437, allocations: 59.45 kB / 0.6353 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004209/0.7442, allocations: 179.9 kB / 0.6354 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003317/0.7475, allocations: 1.721 MB / 0.6371 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.7682, allocations: 9.032 MB / 0.6459 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06758/0.8358, allocations: 44.39 MB / 0.6893 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02213/0.858, allocations: 7.641 MB / 0.6967 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006723/0.8647, allocations: 5.13 MB / 0.7018 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2771/1.142, allocations: 12.7 MB / 0.7142 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/1.142, allocations: 63.61 kB / 0.7142 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 5.721e-06/1.142, allocations: 1.281 kB / 0.7142 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2154/1.357, allocations: 74.6 MB / 0.7871 GB, free: 132 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0138/1.371, allocations: 11.11 MB / 0.7979 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006586/1.378, allocations: 4.315 MB / 0.8021 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.379, allocations: 93.7 kB / 0.8022 GB, free: 116.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.381, allocations: 2.967 MB / 0.8051 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002447/1.384, allocations: 1.408 MB / 0.8065 GB, free: 112 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003657/1.387, allocations: 1.134 MB / 0.8076 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.822e-05/1.387, allocations: 305.1 kB / 0.8079 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005813/1.393, allocations: 4.657 MB / 0.8124 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00667/1.4, allocations: 6.68 MB / 0.819 GB, free: 98.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/1.413, allocations: 12.08 MB / 0.8308 GB, free: 85.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.346e-05/1.413, allocations: 16 kB / 0.8308 GB, free: 85.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03514/1.448, allocations: 19.03 MB / 0.8494 GB, free: 66.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/1.448, allocations: 35.98 kB / 0.8494 GB, free: 66.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-05/1.448, allocations: 64 kB / 0.8495 GB, free: 66.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.022/1.47, allocations: 8.838 MB / 0.8581 GB, free: 57.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/1.474, allocations: 1.018 MB / 0.8591 GB, free: 56.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3271/1.801, allocations: 54.01 MB / 0.9118 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006424/1.808, allocations: 498.9 kB / 0.9123 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.809, allocations: 285.3 kB / 0.9126 GB, free: 167.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (515): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(13,102,46.2%), (3,23,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.005045/1.814, allocations: 2.264 MB / 0.9148 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.815, allocations: 480.2 kB / 0.9152 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03447/1.85, allocations: 17.96 MB / 0.9328 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02907/1.879, allocations: 16.48 MB / 0.9489 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.316e-05/1.879, allocations: 26.25 kB / 0.9489 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.07e-05/1.879, allocations: 25.59 kB / 0.9489 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05771/1.937, allocations: 35.29 MB / 0.9834 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.962e-05/1.937, allocations: 4 kB / 0.9834 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/1.939, allocations: 451 kB / 0.9838 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02208/1.961, allocations: 8.678 MB / 0.9923 GB, free: 116 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/1.963, allocations: 75.98 kB / 0.9924 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06092/2.024, allocations: 52.53 MB / 1.044 GB, free: 63.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01194/2.036, allocations: 9.825 MB / 1.053 GB, free: 53.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03829/2.074, allocations: 24.08 MB / 1.077 GB, free: 29.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/2.076, allocations: 0.5157 MB / 1.077 GB, free: 28.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/2.077, allocations: 82.09 kB / 1.077 GB, free: 28.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/2.081, allocations: 379.5 kB / 1.078 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/2.083, allocations: 332 kB / 1.078 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003779/2.083, allocations: 92 kB / 1.078 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003925/2.087, allocations: 2.848 MB / 1.081 GB, free: 25.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/2.087, allocations: 0 / 1.081 GB, free: 25.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008615/2.096, allocations: 1.98 MB / 1.083 GB, free: 23.13 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,97,54.5%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2666/2.363, allocations: 24.74 MB / 1.107 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.03206/2.395, allocations: 19.07 MB / 1.126 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.395, allocations: 3.562 kB / 1.126 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01143/2.406, allocations: 7.209 MB / 1.133 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/2.411, allocations: 0.8531 MB / 1.133 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1506/2.562, allocations: 94.07 MB / 1.225 GB, free: 70.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009907/2.572, allocations: 4.152 MB / 1.229 GB, free: 65.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008237/2.58, allocations: 1.606 MB / 1.231 GB, free: 64.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006066/2.586, allocations: 2.62 MB / 1.234 GB, free: 61.72 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/2.586, allocations: 4 kB / 1.234 GB, free: 61.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.513/3.099, allocations: 173.1 MB / 1.403 GB, free: 117.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/3.099, allocations: 252.2 kB / 1.403 GB, free: 117.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.595/8.694, allocations: 4 kB / 1.403 GB, free: 117.2 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat