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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009865/0.0009867, allocations: 180.3 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.3 MB / 236 MB, free: 2.949 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.0007633/0.0007634, allocations: 95.59 kB / 287 MB, free: 236 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.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.072e-05, allocations: 4 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.34/0.447, allocations: 102.8 MB / 0.6021 GB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4472, allocations: 75.95 kB / 0.6022 GB, free: 2.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1195/0.5667, allocations: 53.78 MB / 0.6547 GB, free: 12.31 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5668, allocations: 0 / 0.6547 GB, free: 12.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.138e-05/0.5669, allocations: 55.94 kB / 0.6547 GB, free: 12.26 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.004086/0.5709, allocations: 2.523 MB / 0.6572 GB, free: 9.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.571, allocations: 8.031 kB / 0.6572 GB, free: 9.672 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006925/0.5779, allocations: 1.798 MB / 0.659 GB, free: 7.867 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.5815, allocations: 1.668 MB / 0.6606 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.5817, allocations: 205.5 kB / 0.6608 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006222/0.5823, allocations: 275.9 kB / 0.661 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.5934, allocations: 6.269 MB / 0.6672 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/0.5935, allocations: 15.81 kB / 0.6672 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/0.5939, allocations: 123.9 kB / 0.6673 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00075/0.5947, allocations: 0.6333 MB / 0.6679 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00883/0.6035, allocations: 5.419 MB / 0.6732 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.629, allocations: 22.32 MB / 0.695 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.6326, allocations: 1.997 MB / 0.697 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.6335, allocations: 0.6876 MB / 0.6976 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005815/0.6393, allocations: 3.683 MB / 0.7012 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.6394, allocations: 35 kB / 0.7013 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 5.681e-06/0.6394, allocations: 0 / 0.7013 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.004291/0.6437, allocations: 1.581 MB / 0.7028 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.6438, allocations: 59.84 kB / 0.7029 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.6465, allocations: 1.718 MB / 0.7045 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/0.6466, allocations: 41.69 kB / 0.7046 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.6477, allocations: 1.891 MB / 0.7064 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.648, allocations: 308.1 kB / 0.7067 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.6481, allocations: 59.98 kB / 0.7068 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003026/0.6484, allocations: 497 kB / 0.7073 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.6495, allocations: 0.8374 MB / 0.7081 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.6519, allocations: 2.678 MB / 0.7107 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.242/0.8939, allocations: 1.527 MB / 0.7122 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.37e-05/0.894, allocations: 18.69 kB / 0.7122 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005362/0.8993, allocations: 3.41 MB / 0.7155 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.8994, allocations: 33.92 kB / 0.7156 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-05/0.8995, allocations: 69.31 kB / 0.7156 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001157/0.8996, allocations: 97.03 kB / 0.7157 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.9014, allocations: 0.6606 MB / 0.7164 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.9015, allocations: 132.6 kB / 0.7165 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.9032, allocations: 408.9 kB / 0.7169 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.9035, allocations: 185.7 kB / 0.7171 GB, free: 144.7 MB / 0.5105 GB 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 () * 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.0002895/0.9038, allocations: 341.2 kB / 0.7174 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.9039, allocations: 156.5 kB / 0.7175 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.9043, allocations: 202.3 kB / 0.7177 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.9044, allocations: 9.438 kB / 0.7177 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9044, allocations: 3.844 kB / 0.7177 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9044, allocations: 3.047 kB / 0.7177 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/0.9103, allocations: 4.101 MB / 0.7217 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.9103, allocations: 5.969 kB / 0.7217 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.9107, allocations: 104.4 kB / 0.7218 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.9107, allocations: 11.12 kB / 0.7219 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.9107, allocations: 20.19 kB / 0.7219 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.9108, allocations: 14.66 kB / 0.7219 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.9108, allocations: 11.34 kB / 0.7219 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.9121, allocations: 1.726 MB / 0.7236 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.9125, allocations: 262.2 kB / 0.7238 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.9126, allocations: 21.94 kB / 0.7239 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.9131, allocations: 26.34 kB / 0.7239 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.9132, allocations: 54.09 kB / 0.7239 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.9132, allocations: 35.27 kB / 0.724 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001706/0.9149, allocations: 1.259 MB / 0.7252 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.915, allocations: 0 / 0.7252 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002443/0.9174, allocations: 0.7036 MB / 0.7259 GB, free: 142.2 MB / 0.5105 GB 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 () * 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.0002416/0.9176, allocations: 150.4 kB / 0.726 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002973/0.9206, allocations: 1.962 MB / 0.7279 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9206, allocations: 1.438 kB / 0.7279 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.9212, allocations: 459.5 kB / 0.7284 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.9223, allocations: 222.5 kB / 0.7286 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008765/0.931, allocations: 4.174 MB / 0.7327 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.9333, allocations: 2.38 MB / 0.735 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002088/0.9354, allocations: 0.9716 MB / 0.7359 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.9356, allocations: 117.9 kB / 0.7361 GB, free: 140 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/0.9356, allocations: 0.75 kB / 0.7361 GB, free: 140 MB / 0.5105 GB Notification: Performance of Templates: time 0.02148/0.9571, allocations: 13.77 MB / 0.7495 GB, free: 139.3 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches