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.0009794/0.0009797, allocations: 180.2 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.209/1.209, allocations: 221.4 MB / 236 MB, free: 2.945 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.0007782/0.0007783, allocations: 92.03 kB / 287 MB, free: 228 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.1658/0.1658, allocations: 44.16 MB / 382.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.212e-05, allocations: 4.219 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4428, allocations: 102.8 MB / 0.6021 GB, free: 2.438 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.443, allocations: 75.97 kB / 0.6022 GB, free: 2.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1235/0.5665, allocations: 53.8 MB / 0.6547 GB, free: 12.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5666, allocations: 3.938 kB / 0.6547 GB, free: 12.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.505e-05/0.5667, allocations: 59.94 kB / 0.6548 GB, free: 12.17 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.004451/0.5711, allocations: 2.519 MB / 0.6572 GB, free: 9.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5712, allocations: 8.031 kB / 0.6572 GB, free: 9.586 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.5781, allocations: 1.794 MB / 0.659 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.5819, allocations: 1.668 MB / 0.6606 GB, free: 6.066 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5821, allocations: 213.5 kB / 0.6608 GB, free: 5.855 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005993/0.5827, allocations: 267.9 kB / 0.6611 GB, free: 5.594 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.5931, allocations: 6.257 MB / 0.6672 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.489e-05/0.5932, allocations: 19.81 kB / 0.6672 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.5935, allocations: 127.9 kB / 0.6673 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008248/0.5944, allocations: 0.6411 MB / 0.668 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.6045, allocations: 5.422 MB / 0.6733 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02542/0.63, allocations: 22.31 MB / 0.695 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.6335, allocations: 1.989 MB / 0.697 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.6343, allocations: 0.6887 MB / 0.6977 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005459/0.6398, allocations: 3.691 MB / 0.7013 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.6398, allocations: 39 kB / 0.7013 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.6398, allocations: 3.938 kB / 0.7013 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.00405/0.6439, allocations: 1.577 MB / 0.7028 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.6439, allocations: 55.84 kB / 0.7029 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.646, allocations: 1.726 MB / 0.7046 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.6461, allocations: 37.7 kB / 0.7046 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.6472, allocations: 1.883 MB / 0.7065 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.6475, allocations: 320 kB / 0.7068 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.6476, allocations: 56 kB / 0.7068 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002715/0.6479, allocations: 497 kB / 0.7073 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.649, allocations: 0.8257 MB / 0.7081 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.6515, allocations: 2.689 MB / 0.7107 GB, free: 440 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2432/0.8947, allocations: 1.524 MB / 0.7122 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.582e-05/0.8948, allocations: 18.41 kB / 0.7122 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005111/0.8999, allocations: 3.409 MB / 0.7156 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.9, allocations: 32.59 kB / 0.7156 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.734e-05/0.9001, allocations: 66.28 kB / 0.7157 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.9002, allocations: 97.53 kB / 0.7157 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.9022, allocations: 0.6608 MB / 0.7164 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001332/0.9023, allocations: 129.8 kB / 0.7165 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.9042, allocations: 408.7 kB / 0.7169 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.9045, allocations: 183.3 kB / 0.7171 GB, free: 144.3 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.0004097/0.905, allocations: 347.5 kB / 0.7174 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.9052, allocations: 159.3 kB / 0.7176 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.9057, allocations: 205.5 kB / 0.7178 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.9057, allocations: 10.11 kB / 0.7178 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.9057, allocations: 0.6875 kB / 0.7178 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.9057, allocations: 2.719 kB / 0.7178 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006667/0.9124, allocations: 4.104 MB / 0.7218 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.9125, allocations: 6.719 kB / 0.7218 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.9129, allocations: 103.3 kB / 0.7219 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.9129, allocations: 12.97 kB / 0.7219 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.913, allocations: 18.14 kB / 0.7219 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.913, allocations: 14.69 kB / 0.7219 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.913, allocations: 10.94 kB / 0.7219 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.9145, allocations: 1.728 MB / 0.7236 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.9149, allocations: 257.6 kB / 0.7239 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.915, allocations: 18.59 kB / 0.7239 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.9155, allocations: 28.23 kB / 0.7239 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.9156, allocations: 53.94 kB / 0.724 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.9157, allocations: 37.64 kB / 0.724 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001842/0.9175, allocations: 1.255 MB / 0.7252 GB, free: 142 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9175, allocations: 3.688 kB / 0.7252 GB, free: 142 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002954/0.9205, allocations: 0.7081 MB / 0.7259 GB, free: 141.9 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.0003458/0.9209, allocations: 147.2 kB / 0.7261 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003387/0.9243, allocations: 1.966 MB / 0.728 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9243, allocations: 1.094 kB / 0.728 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.9249, allocations: 457.4 kB / 0.7284 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.9262, allocations: 218.8 kB / 0.7286 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/0.9338, allocations: 4.176 MB / 0.7327 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.9359, allocations: 2.374 MB / 0.735 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002115/0.938, allocations: 0.9721 MB / 0.736 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.9383, allocations: 118.7 kB / 0.7361 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/0.9383, allocations: 2.469 kB / 0.7361 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.02279/0.9611, allocations: 13.78 MB / 0.7495 GB, free: 138.9 MB / 0.5105 GB 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