Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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) 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 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(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.002107/0.002107, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 96.72 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2977/0.2977, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/2.009e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.412, allocations: 58.86 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/0.6642, allocations: 104.5 MB / 0.568 GB, free: 10.71 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.6645, allocations: 71.97 kB / 0.5681 GB, free: 10.64 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2854/0.9499, allocations: 64.94 MB / 0.6315 GB, free: 9.195 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.9499, allocations: 0 / 0.6315 GB, free: 9.195 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0001781/0.9501, allocations: 68 kB / 0.6316 GB, free: 9.129 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01214/0.9623, allocations: 3.134 MB / 0.6346 GB, free: 5.938 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.9624, allocations: 8.031 kB / 0.6346 GB, free: 5.93 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.978, allocations: 1.941 MB / 0.6365 GB, free: 3.98 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007947/0.986, allocations: 2.048 MB / 0.6385 GB, free: 1.887 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.9864, allocations: 120 kB / 0.6386 GB, free: 1.77 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.9882, allocations: 212 kB / 0.6388 GB, free: 1.562 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4137/1.402, allocations: 5.379 MB / 0.6441 GB, free: 112.7 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/1.425, allocations: 7.398 MB / 0.6513 GB, free: 111.7 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/1.425, allocations: 16.78 kB / 0.6513 GB, free: 111.7 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001859/1.427, allocations: 13.16 kB / 0.6514 GB, free: 111.7 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002419/1.43, allocations: 0.8142 MB / 0.6521 GB, free: 111.7 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05502/1.485, allocations: 26.61 MB / 0.6781 GB, free: 97.79 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/1.488, allocations: 1.742 MB / 0.6798 GB, free: 96.8 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/1.49, allocations: 0.7066 MB / 0.6805 GB, free: 96.56 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/1.49, allocations: 28.16 kB / 0.6806 GB, free: 96.56 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.49, allocations: 40.06 kB / 0.6806 GB, free: 96.52 MB / 475.1 MB Notification: Performance of pre-optimization done (n=132): time 4.96e-06/1.49, allocations: 0 / 0.6806 GB, free: 96.52 MB / 475.1 MB Notification: Performance of matching and sorting (n=132): time 0.006923/1.497, allocations: 1.852 MB / 0.6824 GB, free: 95.99 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.497, allocations: 62.88 kB / 0.6825 GB, free: 95.92 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/1.5, allocations: 1.778 MB / 0.6842 GB, free: 95.2 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/1.501, allocations: 25.7 kB / 0.6842 GB, free: 95.17 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.502, allocations: 2.378 MB / 0.6865 GB, free: 93.59 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/1.503, allocations: 489.9 kB / 0.687 GB, free: 93.23 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/1.503, allocations: 3.781 kB / 0.687 GB, free: 93.23 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.000257/1.504, allocations: 481.8 kB / 0.6875 GB, free: 92.86 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.506, allocations: 1.055 MB / 0.6885 GB, free: 92.5 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/1.51, allocations: 3.345 MB / 0.6918 GB, free: 89.05 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/1.514, allocations: 1.91 MB / 0.6936 GB, free: 88.5 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.985e-05/1.514, allocations: 25.72 kB / 0.6937 GB, free: 88.5 MB / 475.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.0104/1.524, allocations: 3.89 MB / 0.6975 GB, free: 87.17 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/1.525, allocations: 36.94 kB / 0.6975 GB, free: 87.17 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/1.525, allocations: 88.03 kB / 0.6976 GB, free: 87.16 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/1.525, allocations: 126 kB / 0.6977 GB, free: 87.16 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/1.53, allocations: 0.8838 MB / 0.6986 GB, free: 87.05 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001461/1.53, allocations: 160.5 kB / 0.6987 GB, free: 87.02 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/1.534, allocations: 431.2 kB / 0.6991 GB, free: 86.77 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008698/1.535, allocations: 236.6 kB / 0.6994 GB, free: 86.73 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (484): * Single equations (assignments): 481 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009587/1.536, allocations: 326.2 kB / 0.6997 GB, free: 86.46 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003266/1.539, allocations: 1.409 MB / 0.701 GB, free: 85.96 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/1.54, allocations: 185.8 kB / 0.7012 GB, free: 85.86 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/1.544, allocations: 1.618 MB / 0.7028 GB, free: 85.29 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/1.544, allocations: 15.97 kB / 0.7028 GB, free: 85.29 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.544, allocations: 3.953 kB / 0.7028 GB, free: 85.29 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/1.544, allocations: 7.031 kB / 0.7028 GB, free: 85.29 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.562, allocations: 7.037 MB / 0.7097 GB, free: 82.47 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/1.562, allocations: 13.25 kB / 0.7097 GB, free: 82.47 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.564, allocations: 218 kB / 0.7099 GB, free: 82.45 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.369e-05/1.564, allocations: 24.45 kB / 0.7099 GB, free: 82.44 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.564, allocations: 32.3 kB / 0.71 GB, free: 82.44 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/1.564, allocations: 26.44 kB / 0.71 GB, free: 82.43 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-05/1.564, allocations: 28.75 kB / 0.71 GB, free: 82.43 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/1.568, allocations: 3.205 MB / 0.7132 GB, free: 79.38 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/1.568, allocations: 283.4 kB / 0.7134 GB, free: 79.16 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/1.569, allocations: 26.5 kB / 0.7134 GB, free: 79.16 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.57, allocations: 33.22 kB / 0.7135 GB, free: 79.16 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.57, allocations: 125.4 kB / 0.7136 GB, free: 79.1 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.57, allocations: 65.11 kB / 0.7137 GB, free: 79.09 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002302/1.573, allocations: 1.172 MB / 0.7148 GB, free: 78.61 MB / 475.1 MB Notification: Performance of sort global known variables: time 8.62e-07/1.573, allocations: 0 / 0.7148 GB, free: 78.61 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005012/1.578, allocations: 0.8759 MB / 0.7157 GB, free: 78.36 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005228/1.583, allocations: 8.149 MB / 0.7236 GB, free: 70.8 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.005417/1.589, allocations: 2.518 MB / 0.7261 GB, free: 68.97 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/1.589, allocations: 7.375 kB / 0.7261 GB, free: 68.96 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.59, allocations: 0.7265 MB / 0.7268 GB, free: 68.32 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.592, allocations: 218 kB / 0.727 GB, free: 68.13 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/1.613, allocations: 7.273 MB / 0.7341 GB, free: 61.59 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005968/1.619, allocations: 2.905 MB / 0.7369 GB, free: 59.33 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003402/1.623, allocations: 1.492 MB / 0.7384 GB, free: 57.96 MB / 475.1 MB Notification: Performance of SimCode: time 1.032e-06/1.623, allocations: 0 / 0.7384 GB, free: 57.96 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.36/4.983, allocations: 57.18 MB / 0.7942 GB, free: 5.02 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat