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.001337/0.001337, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001816/0.001816, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.58/1.58, allocations: 230.6 MB / 258.2 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.234/0.234, allocations: 44.94 MB / 359.6 MB, free: 6.082 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.002347/0.002347, allocations: 71.88 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3878, allocations: 65.47 MB / 0.5582 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01357/0.4014, allocations: 8.917 MB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.4087, allocations: 2.921 MB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.4104, allocations: 63.81 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005505/0.4159, allocations: 2.528 MB / 0.5723 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.4197, allocations: 1.218 MB / 0.5735 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4208, allocations: 355.3 kB / 0.5738 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.4249, allocations: 2.543 MB / 0.5763 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003322/0.4282, allocations: 2.236 MB / 0.5785 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.4299, allocations: 1.067 MB / 0.5795 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.432, allocations: 1.374 MB / 0.5809 GB, free: 192 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.4325, allocations: 256 kB / 0.5811 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.4338, allocations: 0.6709 MB / 0.5818 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4352, allocations: 1.363 MB / 0.5831 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.4365, allocations: 1.141 MB / 0.5842 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005917/0.4424, allocations: 5.14 MB / 0.5892 GB, free: 7.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4424, allocations: 0 / 0.5892 GB, free: 7.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4424, allocations: 0 / 0.5892 GB, free: 7.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.4425, allocations: 0 / 0.5892 GB, free: 7.59 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.005975/0.4485, allocations: 3.278 MB / 0.5924 GB, free: 4.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4486, allocations: 12.03 kB / 0.5924 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/0.4536, allocations: 1.621 MB / 0.594 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.4572, allocations: 1.447 MB / 0.5954 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.4573, allocations: 188.9 kB / 0.5956 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004308/0.4578, allocations: 231.8 kB / 0.5958 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.4698, allocations: 7.11 MB / 0.6028 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.654e-05/0.4698, allocations: 15.81 kB / 0.6028 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.4701, allocations: 107.9 kB / 0.6029 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/0.4724, allocations: 1.439 MB / 0.6043 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.4858, allocations: 5.937 MB / 0.6101 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03603/0.5218, allocations: 20.24 MB / 0.6299 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004977/0.5268, allocations: 1.668 MB / 0.6315 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.5281, allocations: 0.7112 MB / 0.6322 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007406/0.5355, allocations: 3.215 MB / 0.6353 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.5355, allocations: 43.16 kB / 0.6354 GB, free: 7.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 5.741e-06/0.5355, allocations: 0 / 0.6354 GB, free: 7.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.00638/0.5419, allocations: 2.249 MB / 0.6376 GB, free: 5.031 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.5419, allocations: 56.06 kB / 0.6376 GB, free: 4.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.5456, allocations: 2.013 MB / 0.6396 GB, free: 2.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/0.5456, allocations: 37.69 kB / 0.6396 GB, free: 2.902 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001962/0.5476, allocations: 2.117 MB / 0.6417 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.5481, allocations: 361.3 kB / 0.642 GB, free: 416 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.5493, allocations: 0.6551 MB / 0.6427 GB, free: 15.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.5495, allocations: 349.9 kB / 0.643 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.5512, allocations: 0.9391 MB / 0.6439 GB, free: 14.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003857/0.5551, allocations: 2.872 MB / 0.6467 GB, free: 10.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006603/0.5617, allocations: 4.152 MB / 0.6508 GB, free: 5.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/0.5618, allocations: 23.94 kB / 0.6508 GB, free: 5.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.008143/0.57, allocations: 3.695 MB / 0.6544 GB, free: 1.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.223e-05/0.5701, allocations: 38.66 kB / 0.6544 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.5702, allocations: 68 kB / 0.6545 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.5703, allocations: 88.78 kB / 0.6546 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.5726, allocations: 0.6939 MB / 0.6553 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/0.5727, allocations: 135.5 kB / 0.6554 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.5751, allocations: 440.8 kB / 0.6558 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/0.5756, allocations: 200 kB / 0.656 GB, free: 144 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.002856/0.5784, allocations: 1.499 MB / 0.6575 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/0.5788, allocations: 162.9 kB / 0.6576 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.5793, allocations: 205 kB / 0.6578 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.5793, allocations: 8 kB / 0.6578 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.5793, allocations: 0 / 0.6578 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.5793, allocations: 7.984 kB / 0.6578 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008687/0.588, allocations: 3.772 MB / 0.6615 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.588, allocations: 8 kB / 0.6615 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.5886, allocations: 115.8 kB / 0.6616 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/0.5886, allocations: 11.94 kB / 0.6616 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.5887, allocations: 27.98 kB / 0.6617 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.358e-05/0.5887, allocations: 11.94 kB / 0.6617 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-05/0.5887, allocations: 11.94 kB / 0.6617 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.591, allocations: 1.397 MB / 0.6631 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006002/0.5916, allocations: 166.7 kB / 0.6632 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.5919, allocations: 27.92 kB / 0.6632 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/0.5926, allocations: 27.98 kB / 0.6633 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5928, allocations: 71.72 kB / 0.6633 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/0.5929, allocations: 32 kB / 0.6634 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002225/0.5951, allocations: 1.159 MB / 0.6645 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5951, allocations: 0 / 0.6645 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003687/0.5988, allocations: 0.8133 MB / 0.6653 GB, free: 6.348 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.0004456/0.5992, allocations: 147.5 kB / 0.6654 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003791/0.603, allocations: 2.075 MB / 0.6675 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.603, allocations: 4 kB / 0.6675 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.6037, allocations: 480.9 kB / 0.6679 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.6053, allocations: 208.7 kB / 0.6681 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.6185, allocations: 6.12 MB / 0.6741 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/0.6224, allocations: 1.957 MB / 0.676 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.6229, allocations: 143.4 kB / 0.6762 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/0.6229, allocations: 8 kB / 0.6762 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.06005/0.683, allocations: 33.27 MB / 0.7087 GB, free: 9.82 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/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: 10.937865579035133]