Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 46.93 MB / 361.6 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.83 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01179/0.3283, allocations: 9.594 MB / 0.5712 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006504/0.3348, allocations: 2.959 MB / 0.5741 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.3364, allocations: 55.81 kB / 0.5742 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.3407, allocations: 2.033 MB / 0.5762 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.3439, allocations: 1.136 MB / 0.5773 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008809/0.3448, allocations: 295.4 kB / 0.5776 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.3484, allocations: 2.322 MB / 0.5798 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.3512, allocations: 1.75 MB / 0.5815 GB, free: 152 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.3527, allocations: 0.8879 MB / 0.5824 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.3549, allocations: 1.25 MB / 0.5836 GB, free: 14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006349/0.3555, allocations: 196 kB / 0.5838 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.3573, allocations: 0.7215 MB / 0.5845 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.3588, allocations: 1.141 MB / 0.5856 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.361, allocations: 1.305 MB / 0.5869 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005576/0.3665, allocations: 4.341 MB / 0.5911 GB, free: 6.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.3665, allocations: 4 kB / 0.5911 GB, free: 6.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3665, allocations: 0 / 0.5911 GB, free: 6.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.3667, allocations: 0 / 0.5911 GB, free: 6.273 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006745/0.3734, allocations: 2.866 MB / 0.5939 GB, free: 3.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3735, allocations: 8.031 kB / 0.5939 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.3788, allocations: 1.586 MB / 0.5955 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.382, allocations: 1.271 MB / 0.5967 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3822, allocations: 144 kB / 0.5969 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006005/0.3828, allocations: 187.8 kB / 0.5971 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.3945, allocations: 6.25 MB / 0.6032 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-05/0.3946, allocations: 11.88 kB / 0.6032 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000483/0.395, allocations: 87.91 kB / 0.6033 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002184/0.3972, allocations: 1.34 MB / 0.6046 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.4081, allocations: 5.338 MB / 0.6098 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03141/0.4395, allocations: 19.99 MB / 0.6293 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/0.4435, allocations: 1.489 MB / 0.6307 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.4446, allocations: 0.6406 MB / 0.6314 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006934/0.4515, allocations: 3.156 MB / 0.6345 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4515, allocations: 38.94 kB / 0.6345 GB, free: 8.867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.467e-06/0.4515, allocations: 0 / 0.6345 GB, free: 8.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005408/0.4569, allocations: 1.99 MB / 0.6364 GB, free: 6.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.457, allocations: 59.78 kB / 0.6365 GB, free: 6.797 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00342/0.4604, allocations: 1.938 MB / 0.6384 GB, free: 4.855 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.4605, allocations: 37.7 kB / 0.6384 GB, free: 4.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.4621, allocations: 1.907 MB / 0.6403 GB, free: 2.883 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.4625, allocations: 333.5 kB / 0.6406 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/0.4634, allocations: 0.6195 MB / 0.6412 GB, free: 1.926 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.4636, allocations: 353.9 kB / 0.6415 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.4651, allocations: 0.8842 MB / 0.6424 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/0.4683, allocations: 2.755 MB / 0.6451 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004967/0.4733, allocations: 3.98 MB / 0.649 GB, free: 8.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.358e-05/0.4733, allocations: 20 kB / 0.649 GB, free: 8.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006014/0.4794, allocations: 3.524 MB / 0.6524 GB, free: 4.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.4794, allocations: 32.19 kB / 0.6525 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.587e-05/0.4795, allocations: 72 kB / 0.6525 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.4796, allocations: 84 kB / 0.6526 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.4816, allocations: 0.6666 MB / 0.6533 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000134/0.4818, allocations: 123.5 kB / 0.6534 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.4838, allocations: 428.8 kB / 0.6538 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.4841, allocations: 188 kB / 0.654 GB, free: 2.969 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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.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): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002166/0.4863, allocations: 1.346 MB / 0.6553 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/0.4866, allocations: 162.9 kB / 0.6555 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.487, allocations: 192.9 kB / 0.6556 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.487, allocations: 15.92 kB / 0.6557 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.487, allocations: 0 / 0.6557 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.487, allocations: 3.984 kB / 0.6557 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/0.4947, allocations: 4.004 MB / 0.6596 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.4947, allocations: 4 kB / 0.6596 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.4951, allocations: 103.8 kB / 0.6597 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.4951, allocations: 12 kB / 0.6597 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.4952, allocations: 23.98 kB / 0.6597 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.4952, allocations: 11.94 kB / 0.6597 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.4952, allocations: 12.47 kB / 0.6597 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.4968, allocations: 1.274 MB / 0.661 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.4973, allocations: 178.6 kB / 0.6611 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.4976, allocations: 19.98 kB / 0.6612 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.4982, allocations: 27.94 kB / 0.6612 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4983, allocations: 59.8 kB / 0.6612 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.4983, allocations: 31.98 kB / 0.6613 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002134/0.5005, allocations: 1.271 MB / 0.6625 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5005, allocations: 0 / 0.6625 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002787/0.5032, allocations: 0.6813 MB / 0.6632 GB, free: 9.293 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003816/0.5036, allocations: 142.9 kB / 0.6633 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003708/0.5073, allocations: 1.967 MB / 0.6652 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.5073, allocations: 0 / 0.6652 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.508, allocations: 438.3 kB / 0.6657 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.5095, allocations: 232.8 kB / 0.6659 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5203, allocations: 5.44 MB / 0.6712 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003436/0.5237, allocations: 2.279 MB / 0.6734 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.5243, allocations: 143.4 kB / 0.6736 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/0.5243, allocations: 0 / 0.6736 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.05481/0.5791, allocations: 30.31 MB / 0.7032 GB, free: 280 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.931488014990464]