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/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.001796/0.001796, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002344/0.002344, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] 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 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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002984/0.002984, allocations: 67.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.362, allocations: 65.48 MB / 0.5574 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01222/0.3742, allocations: 8.905 MB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.3813, allocations: 2.932 MB / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.383, allocations: 59.81 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.3887, allocations: 2.535 MB / 0.5715 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.3921, allocations: 1.207 MB / 0.5727 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.3931, allocations: 359.2 kB / 0.5731 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.3971, allocations: 2.547 MB / 0.5755 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.4006, allocations: 2.233 MB / 0.5777 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.4025, allocations: 1.075 MB / 0.5788 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.4051, allocations: 1.374 MB / 0.5801 GB, free: 168 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008101/0.4059, allocations: 248 kB / 0.5804 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.4077, allocations: 0.6709 MB / 0.581 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002037/0.4097, allocations: 1.363 MB / 0.5823 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.4117, allocations: 1.149 MB / 0.5835 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.4181, allocations: 5.136 MB / 0.5885 GB, free: 7.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4181, allocations: 0 / 0.5885 GB, free: 7.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4181, allocations: 0 / 0.5885 GB, free: 7.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.4182, allocations: 0 / 0.5885 GB, free: 7.57 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.006376/0.4246, allocations: 3.274 MB / 0.5917 GB, free: 4.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4246, allocations: 16.03 kB / 0.5917 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/0.4299, allocations: 1.621 MB / 0.5933 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.4337, allocations: 1.451 MB / 0.5947 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.4339, allocations: 180.9 kB / 0.5949 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000535/0.4344, allocations: 231.8 kB / 0.5951 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.4476, allocations: 7.114 MB / 0.602 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.462e-05/0.4477, allocations: 11.88 kB / 0.602 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006159/0.4483, allocations: 107.9 kB / 0.6022 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002389/0.4507, allocations: 1.439 MB / 0.6036 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.463, allocations: 5.937 MB / 0.6094 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03526/0.4982, allocations: 20.23 MB / 0.6291 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/0.5035, allocations: 1.678 MB / 0.6307 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.5047, allocations: 0.7056 MB / 0.6314 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007946/0.5126, allocations: 3.227 MB / 0.6346 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.5126, allocations: 35.22 kB / 0.6346 GB, free: 7.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.997e-06/0.5126, allocations: 0 / 0.6346 GB, free: 7.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006892/0.5195, allocations: 2.245 MB / 0.6368 GB, free: 5.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.5196, allocations: 60.06 kB / 0.6369 GB, free: 4.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.5234, allocations: 2.013 MB / 0.6388 GB, free: 2.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.5234, allocations: 33.64 kB / 0.6389 GB, free: 2.891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00208/0.5255, allocations: 2.125 MB / 0.6409 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.5259, allocations: 361.3 kB / 0.6413 GB, free: 396 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.5269, allocations: 0.6512 MB / 0.6419 GB, free: 15.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.5272, allocations: 353.9 kB / 0.6423 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.5288, allocations: 0.9352 MB / 0.6432 GB, free: 14.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003432/0.5323, allocations: 2.864 MB / 0.646 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/0.5377, allocations: 4.16 MB / 0.65 GB, free: 5.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.481e-05/0.5378, allocations: 23.94 kB / 0.6501 GB, free: 5.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006442/0.5442, allocations: 3.703 MB / 0.6537 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.5443, allocations: 39.94 kB / 0.6537 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.451e-05/0.5443, allocations: 68 kB / 0.6538 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/0.5445, allocations: 88 kB / 0.6539 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.5466, allocations: 0.6862 MB / 0.6545 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001408/0.5467, allocations: 131.5 kB / 0.6547 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.5487, allocations: 436.8 kB / 0.6551 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.549, allocations: 196 kB / 0.6553 GB, free: 136 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * 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.002485/0.5515, allocations: 1.507 MB / 0.6567 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.5518, allocations: 162.9 kB / 0.6569 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.5522, allocations: 205 kB / 0.6571 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.5522, allocations: 8 kB / 0.6571 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5522, allocations: 0 / 0.6571 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.5522, allocations: 3.984 kB / 0.6571 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008339/0.5606, allocations: 3.771 MB / 0.6608 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.5606, allocations: 8.938 kB / 0.6608 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.5611, allocations: 115.8 kB / 0.6609 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/0.5611, allocations: 11.94 kB / 0.6609 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.5612, allocations: 31.98 kB / 0.6609 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.828e-05/0.5612, allocations: 11.94 kB / 0.6609 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/0.5612, allocations: 15.94 kB / 0.661 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.5632, allocations: 1.389 MB / 0.6623 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.5637, allocations: 162.7 kB / 0.6625 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.564, allocations: 31.92 kB / 0.6625 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.5646, allocations: 27.98 kB / 0.6625 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5647, allocations: 71.72 kB / 0.6626 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.5648, allocations: 35.98 kB / 0.6626 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002234/0.567, allocations: 1.159 MB / 0.6638 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.567, allocations: 0 / 0.6638 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003045/0.5701, allocations: 0.8133 MB / 0.6646 GB, free: 6.332 MB / 0.4981 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 () * Number of clocked 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 (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.0003747/0.5704, allocations: 147.5 kB / 0.6647 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.5742, allocations: 2.082 MB / 0.6667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.5742, allocations: 0 / 0.6667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.5749, allocations: 483 kB / 0.6672 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5763, allocations: 208.4 kB / 0.6674 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.5872, allocations: 5.771 MB / 0.673 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/0.5907, allocations: 1.95 MB / 0.6749 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002393/0.5931, allocations: 0.9905 MB / 0.6759 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.5934, allocations: 119.4 kB / 0.676 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.5934, allocations: 3.938 kB / 0.676 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.03519/0.6286, allocations: 15.62 MB / 0.6913 GB, free: 11 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 5.863142976537347]