Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.218/1.218, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000781/0.0007811, allocations: 96.03 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1662/0.1662, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.095e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.464, allocations: 105.1 MB / 0.6044 GB, free: 192 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4643, allocations: 71.97 kB / 0.6044 GB, free: 120 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1361/0.6004, allocations: 60.93 MB / 0.6639 GB, free: 2.836 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6004, allocations: 8 kB / 0.6639 GB, free: 2.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.6005, allocations: 60 kB / 0.664 GB, free: 2.77 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006318/0.6069, allocations: 2.877 MB / 0.6668 GB, free: 15.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.6069, allocations: 8.031 kB / 0.6668 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00731/0.6142, allocations: 1.879 MB / 0.6686 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.618, allocations: 1.891 MB / 0.6705 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.6182, allocations: 258.7 kB / 0.6707 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006002/0.6188, allocations: 327.9 kB / 0.671 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.6299, allocations: 7.272 MB / 0.6781 GB, free: 3.777 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.63, allocations: 15.88 kB / 0.6782 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/0.6303, allocations: 147.9 kB / 0.6783 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008041/0.6311, allocations: 0.7082 MB / 0.679 GB, free: 2.906 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.6415, allocations: 6.187 MB / 0.685 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.6712, allocations: 25.04 MB / 0.7095 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.6755, allocations: 2.191 MB / 0.7116 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2637/0.9392, allocations: 0.7537 MB / 0.7124 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007929/0.9471, allocations: 3.92 MB / 0.7162 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.9472, allocations: 43.25 kB / 0.7162 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=87): time 4.369e-06/0.9472, allocations: 0 / 0.7162 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=87): time 0.005678/0.9529, allocations: 1.793 MB / 0.718 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.953, allocations: 61.97 kB / 0.718 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.9558, allocations: 1.848 MB / 0.7198 GB, free: 140 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.9559, allocations: 35.77 kB / 0.7199 GB, free: 140 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.9572, allocations: 2.117 MB / 0.7219 GB, free: 139 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.9575, allocations: 345.5 kB / 0.7223 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.9576, allocations: 58.31 kB / 0.7223 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.9578, allocations: 443.1 kB / 0.7228 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.959, allocations: 0.8823 MB / 0.7236 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.961, allocations: 2.821 MB / 0.7264 GB, free: 136 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.9634, allocations: 1.611 MB / 0.7279 GB, free: 136 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.945e-05/0.9635, allocations: 22.66 kB / 0.728 GB, free: 136 MB / 0.5105 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.005963/0.9695, allocations: 3.609 MB / 0.7315 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.9695, allocations: 34.84 kB / 0.7315 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.984e-05/0.9696, allocations: 70.47 kB / 0.7316 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.9698, allocations: 101.4 kB / 0.7317 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.9718, allocations: 0.7071 MB / 0.7324 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.9719, allocations: 133.8 kB / 0.7325 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.9741, allocations: 438.7 kB / 0.7329 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/0.9744, allocations: 191.4 kB / 0.7331 GB, free: 135.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (385): * Single equations (assignments): 382 * 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.0003983/0.9748, allocations: 358.8 kB / 0.7334 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.9751, allocations: 170.2 kB / 0.7336 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.9756, allocations: 224.4 kB / 0.7338 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.9756, allocations: 10.56 kB / 0.7338 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.9756, allocations: 4.703 kB / 0.7338 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.9756, allocations: 2.812 kB / 0.7338 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007739/0.9834, allocations: 5.068 MB / 0.7388 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.9834, allocations: 7.844 kB / 0.7388 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.9839, allocations: 114 kB / 0.7389 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.9839, allocations: 11.59 kB / 0.7389 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.9839, allocations: 36.36 kB / 0.739 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.9839, allocations: 11.78 kB / 0.739 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.984, allocations: 18.7 kB / 0.739 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.9856, allocations: 1.993 MB / 0.7409 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.9861, allocations: 298.7 kB / 0.7412 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.9862, allocations: 26.41 kB / 0.7412 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.9868, allocations: 37.34 kB / 0.7413 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.9868, allocations: 64.2 kB / 0.7413 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.9869, allocations: 33.83 kB / 0.7414 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001835/0.9887, allocations: 1.444 MB / 0.7428 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9888, allocations: 0 / 0.7428 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002738/0.9915, allocations: 0.8152 MB / 0.7436 GB, free: 132.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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.0002618/0.9918, allocations: 151.7 kB / 0.7437 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.9944, allocations: 2.085 MB / 0.7458 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.9944, allocations: 7.219 kB / 0.7458 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.9948, allocations: 0.492 MB / 0.7462 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.9958, allocations: 264.4 kB / 0.7465 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/1.003, allocations: 4.794 MB / 0.7512 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002149/1.005, allocations: 2.669 MB / 0.7538 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002312/1.007, allocations: 1.038 MB / 0.7548 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/1.008, allocations: 139.3 kB / 0.7549 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/1.008, allocations: 0 / 0.7549 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.02867/1.036, allocations: 15.92 MB / 0.7705 GB, free: 127.2 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches