Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 92.55 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3639/0.3639, allocations: 44.21 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 8 kB / 460 MB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3638, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.5049, allocations: 102.9 MB / 0.6101 GB, free: 8.246 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.5052, allocations: 83.94 kB / 0.6102 GB, free: 8.168 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.134/0.6392, allocations: 53.72 MB / 0.6626 GB, free: 2.109 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6393, allocations: 0 / 0.6626 GB, free: 2.109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001247/0.6394, allocations: 56 kB / 0.6627 GB, free: 2.055 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007912/0.6473, allocations: 2.631 MB / 0.6653 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.6474, allocations: 12.03 kB / 0.6653 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002358/0.6498, allocations: 0.5153 MB / 0.6658 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007812/0.6576, allocations: 1.802 MB / 0.6675 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005812/0.6635, allocations: 1.676 MB / 0.6692 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.6639, allocations: 205.5 kB / 0.6694 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/0.6657, allocations: 271.9 kB / 0.6696 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.6797, allocations: 6.311 MB / 0.6758 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/0.6798, allocations: 19.86 kB / 0.6758 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003856/0.6802, allocations: 127.9 kB / 0.6759 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008533/0.681, allocations: 0.6333 MB / 0.6765 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2891/0.9701, allocations: 5.504 MB / 0.6819 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.9951, allocations: 22.32 MB / 0.7037 GB, free: 94.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/0.9994, allocations: 2.008 MB / 0.7057 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008678/1.008, allocations: 3.7 MB / 0.7093 GB, free: 92.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/1.008, allocations: 38.88 kB / 0.7093 GB, free: 92.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.825e-06/1.008, allocations: 3.844 kB / 0.7093 GB, free: 92.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.007665/1.016, allocations: 2.229 MB / 0.7115 GB, free: 91.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.016, allocations: 57.91 kB / 0.7116 GB, free: 91.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.019, allocations: 1.74 MB / 0.7133 GB, free: 90.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/1.019, allocations: 36.67 kB / 0.7133 GB, free: 90.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.02, allocations: 1.881 MB / 0.7151 GB, free: 89.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/1.02, allocations: 321.1 kB / 0.7154 GB, free: 89.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.02, allocations: 56.69 kB / 0.7155 GB, free: 89.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003277/1.021, allocations: 494.3 kB / 0.716 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/1.023, allocations: 0.8497 MB / 0.7168 GB, free: 88.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/1.026, allocations: 2.708 MB / 0.7194 GB, free: 85.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/1.029, allocations: 1.52 MB / 0.7209 GB, free: 85.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/1.029, allocations: 19.34 kB / 0.7209 GB, free: 85.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.008087/1.037, allocations: 3.448 MB / 0.7243 GB, free: 84.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/1.037, allocations: 33.72 kB / 0.7243 GB, free: 84.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001486/1.037, allocations: 67.25 kB / 0.7244 GB, free: 84.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/1.038, allocations: 98.02 kB / 0.7245 GB, free: 84.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/1.04, allocations: 0.6652 MB / 0.7251 GB, free: 84.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001971/1.041, allocations: 128.6 kB / 0.7253 GB, free: 84.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.043, allocations: 405.9 kB / 0.7257 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/1.044, allocations: 186.2 kB / 0.7258 GB, free: 83.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 359 * 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.00308/1.047, allocations: 1.371 MB / 0.7272 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/1.047, allocations: 165 kB / 0.7273 GB, free: 83.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/1.048, allocations: 202.5 kB / 0.7275 GB, free: 82.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.048, allocations: 13.28 kB / 0.7275 GB, free: 82.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.048, allocations: 2.406 kB / 0.7275 GB, free: 82.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.048, allocations: 2.859 kB / 0.7275 GB, free: 82.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009632/1.057, allocations: 4.105 MB / 0.7316 GB, free: 81.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/1.057, allocations: 6.375 kB / 0.7316 GB, free: 81.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/1.058, allocations: 103.7 kB / 0.7317 GB, free: 81.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/1.058, allocations: 11.05 kB / 0.7317 GB, free: 81.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/1.058, allocations: 18.36 kB / 0.7317 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.845e-05/1.058, allocations: 13.95 kB / 0.7317 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/1.058, allocations: 11.89 kB / 0.7317 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.06, allocations: 1.722 MB / 0.7334 GB, free: 79.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/1.061, allocations: 260.8 kB / 0.7336 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/1.061, allocations: 16.56 kB / 0.7337 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/1.062, allocations: 45.59 kB / 0.7337 GB, free: 79.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.062, allocations: 56.17 kB / 0.7338 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/1.062, allocations: 30.11 kB / 0.7338 GB, free: 79.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00261/1.065, allocations: 1.268 MB / 0.735 GB, free: 79.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.065, allocations: 4 kB / 0.735 GB, free: 79.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004065/1.069, allocations: 0.707 MB / 0.7357 GB, free: 78.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (57): * Single equations (assignments): 54 * 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.002632/1.072, allocations: 4.045 MB / 0.7397 GB, free: 75.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002834/1.074, allocations: 1.984 MB / 0.7416 GB, free: 74.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.074, allocations: 2 kB / 0.7416 GB, free: 74.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/1.075, allocations: 469 kB / 0.7421 GB, free: 74.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.076, allocations: 224.5 kB / 0.7423 GB, free: 74.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/1.109, allocations: 60.85 MB / 0.8017 GB, free: 19.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/1.112, allocations: 2.375 MB / 0.804 GB, free: 18.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002266/1.115, allocations: 0.9682 MB / 0.805 GB, free: 17.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.116, allocations: 1.067 MB / 0.806 GB, free: 17.05 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/1.116, allocations: 0 / 0.806 GB, free: 17.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06203/1.178, allocations: 36.82 MB / 0.8419 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.178, allocations: 166.7 kB / 0.8421 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/4.341, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat