Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001234, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008113/0.0008112, allocations: 88.92 kB / 292.1 MB, free: 10.92 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.3038/0.3038, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 61.89 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4027, allocations: 102.9 MB / 0.61 GB, free: 8.219 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.403, allocations: 87.94 kB / 0.6101 GB, free: 8.133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1263/0.5294, allocations: 53.75 MB / 0.6626 GB, free: 2.047 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5294, allocations: 0 / 0.6626 GB, free: 2.047 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.089e-05/0.5295, allocations: 52 kB / 0.6627 GB, free: 1.996 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.004599/0.5341, allocations: 2.628 MB / 0.6652 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5342, allocations: 8.031 kB / 0.6652 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006868/0.541, allocations: 1.794 MB / 0.667 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/0.5462, allocations: 1.676 MB / 0.6686 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.5465, allocations: 209.5 kB / 0.6688 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009781/0.5475, allocations: 267.9 kB / 0.6691 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.5627, allocations: 6.319 MB / 0.6752 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.5628, allocations: 15.88 kB / 0.6753 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007263/0.5636, allocations: 127.9 kB / 0.6754 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/0.5648, allocations: 0.6333 MB / 0.676 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2483/0.8131, allocations: 5.503 MB / 0.6814 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02497/0.8381, allocations: 22.32 MB / 0.7032 GB, free: 94.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.8416, allocations: 2 MB / 0.7051 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006042/0.8477, allocations: 3.697 MB / 0.7087 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.8477, allocations: 41.72 kB / 0.7088 GB, free: 92.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/0.8477, allocations: 0 / 0.7088 GB, free: 92.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004709/0.8524, allocations: 2.229 MB / 0.7109 GB, free: 91.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.8525, allocations: 65.47 kB / 0.711 GB, free: 91.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.8547, allocations: 1.741 MB / 0.7127 GB, free: 90.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.8547, allocations: 33.64 kB / 0.7127 GB, free: 90.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.8556, allocations: 1.885 MB / 0.7146 GB, free: 89.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.8558, allocations: 316.8 kB / 0.7149 GB, free: 89.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.8559, allocations: 61.5 kB / 0.7149 GB, free: 89.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.8561, allocations: 493.1 kB / 0.7154 GB, free: 88.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.8572, allocations: 0.8536 MB / 0.7162 GB, free: 88.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.8591, allocations: 2.703 MB / 0.7189 GB, free: 85.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.8611, allocations: 1.52 MB / 0.7204 GB, free: 85.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.559e-05/0.8612, allocations: 18.94 kB / 0.7204 GB, free: 85.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005634/0.8668, allocations: 3.45 MB / 0.7238 GB, free: 83.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-05/0.8669, allocations: 34.88 kB / 0.7238 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.8671, allocations: 67.88 kB / 0.7239 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.8673, allocations: 96.16 kB / 0.7239 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.8695, allocations: 0.6617 MB / 0.7246 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.8696, allocations: 133.9 kB / 0.7247 GB, free: 83.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.8719, allocations: 410 kB / 0.7251 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/0.8723, allocations: 184.2 kB / 0.7253 GB, free: 83.57 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.002632/0.8749, allocations: 1.369 MB / 0.7266 GB, free: 82.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.8753, allocations: 165.3 kB / 0.7268 GB, free: 82.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.8757, allocations: 202.6 kB / 0.727 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/0.8758, allocations: 9 kB / 0.727 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.8758, allocations: 0 / 0.727 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.8758, allocations: 3.094 kB / 0.727 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007172/0.883, allocations: 4.114 MB / 0.731 GB, free: 81.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.8831, allocations: 7.156 kB / 0.731 GB, free: 81.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.8835, allocations: 100.1 kB / 0.7311 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/0.8835, allocations: 9.031 kB / 0.7311 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.8836, allocations: 20.88 kB / 0.7311 GB, free: 81.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.8836, allocations: 11.44 kB / 0.7311 GB, free: 81.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.8836, allocations: 10.41 kB / 0.7312 GB, free: 81.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.8852, allocations: 1.729 MB / 0.7328 GB, free: 79.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.8857, allocations: 256 kB / 0.7331 GB, free: 79.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.8858, allocations: 24.84 kB / 0.7331 GB, free: 79.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.8863, allocations: 36.16 kB / 0.7331 GB, free: 79.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.8864, allocations: 50.47 kB / 0.7332 GB, free: 79.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.8865, allocations: 32.94 kB / 0.7332 GB, free: 79.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001772/0.8882, allocations: 1.271 MB / 0.7345 GB, free: 78.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.8882, allocations: 0 / 0.7345 GB, free: 78.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002522/0.8908, allocations: 0.7125 MB / 0.7352 GB, free: 78.71 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.0002681/0.891, allocations: 146.4 kB / 0.7353 GB, free: 78.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.8935, allocations: 1.981 MB / 0.7372 GB, free: 77.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.8936, allocations: 5.844 kB / 0.7372 GB, free: 77.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.894, allocations: 469.7 kB / 0.7377 GB, free: 77.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.8949, allocations: 218.6 kB / 0.7379 GB, free: 77.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/0.9029, allocations: 6.267 MB / 0.744 GB, free: 74.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/0.9049, allocations: 2.373 MB / 0.7463 GB, free: 73.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002127/0.9071, allocations: 0.9756 MB / 0.7473 GB, free: 73.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.9073, allocations: 116.1 kB / 0.7474 GB, free: 73.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/0.9073, allocations: 0 / 0.7474 GB, free: 73.08 MB / 490.7 MB Notification: Performance of Templates: time 0.02898/0.9363, allocations: 13.76 MB / 0.7608 GB, free: 72.27 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches