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/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.00146/0.00146, allocations: 120.8 kB / 20.33 MB, free: 1.543 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.00157/0.00157, allocations: 210.6 kB / 23.61 MB, free: 4.934 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.51/1.51, allocations: 230.5 MB / 257.2 MB, free: 8.066 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.2253/0.2253, allocations: 44.91 MB / 358.6 MB, free: 6.336 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [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.002135/0.002135, allocations: 67.89 kB / 0.4932 GB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3091, allocations: 65.48 MB / 0.5571 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0124/0.3215, allocations: 9.506 MB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.3279, allocations: 2.939 MB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008984/0.3288, allocations: 55.81 kB / 0.5693 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003879/0.3327, allocations: 2.029 MB / 0.5713 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.3353, allocations: 1.14 MB / 0.5724 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.3359, allocations: 287.3 kB / 0.5727 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.3388, allocations: 2.333 MB / 0.575 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.3408, allocations: 1.738 MB / 0.5767 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009942/0.3418, allocations: 0.8879 MB / 0.5775 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.3434, allocations: 1.254 MB / 0.5788 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.3437, allocations: 192 kB / 0.5789 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3448, allocations: 0.6163 MB / 0.5796 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.3459, allocations: 1.141 MB / 0.5807 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.3475, allocations: 1.305 MB / 0.5819 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.3525, allocations: 4.346 MB / 0.5862 GB, free: 9.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3525, allocations: 0 / 0.5862 GB, free: 9.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3525, allocations: 4 kB / 0.5862 GB, free: 9.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.879e-05/0.3526, allocations: 0 / 0.5862 GB, free: 9.812 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.0059/0.3585, allocations: 2.862 MB / 0.589 GB, free: 6.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3585, allocations: 8.031 kB / 0.589 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/0.364, allocations: 1.582 MB / 0.5905 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/0.3674, allocations: 1.286 MB / 0.5918 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3676, allocations: 144 kB / 0.5919 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005207/0.3681, allocations: 187.8 kB / 0.5921 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3786, allocations: 6.25 MB / 0.5982 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/0.3786, allocations: 11.88 kB / 0.5982 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.3789, allocations: 87.91 kB / 0.5983 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/0.3812, allocations: 1.344 MB / 0.5996 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3913, allocations: 5.338 MB / 0.6048 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.4197, allocations: 19.9 MB / 0.6243 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/0.424, allocations: 1.49 MB / 0.6257 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.425, allocations: 0.6445 MB / 0.6264 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007559/0.4326, allocations: 3.145 MB / 0.6294 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.4326, allocations: 43 kB / 0.6295 GB, free: 12.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.777e-06/0.4326, allocations: 0 / 0.6295 GB, free: 12.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00581/0.4384, allocations: 1.986 MB / 0.6314 GB, free: 10.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.4385, allocations: 63.78 kB / 0.6315 GB, free: 10.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/0.4415, allocations: 1.942 MB / 0.6334 GB, free: 8.473 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.4415, allocations: 33.7 kB / 0.6334 GB, free: 8.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.443, allocations: 1.911 MB / 0.6353 GB, free: 6.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/0.4433, allocations: 325.6 kB / 0.6356 GB, free: 6.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008214/0.4441, allocations: 0.6234 MB / 0.6362 GB, free: 5.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4443, allocations: 353.9 kB / 0.6365 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.4456, allocations: 0.8842 MB / 0.6374 GB, free: 4.309 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.4486, allocations: 2.755 MB / 0.6401 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.4534, allocations: 3.976 MB / 0.644 GB, free: 11.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/0.4534, allocations: 20 kB / 0.644 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006008/0.4594, allocations: 3.527 MB / 0.6474 GB, free: 8.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.4595, allocations: 36 kB / 0.6475 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.691e-05/0.4596, allocations: 64 kB / 0.6475 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.4597, allocations: 88 kB / 0.6476 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.4617, allocations: 0.6588 MB / 0.6482 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001315/0.4619, allocations: 131.5 kB / 0.6484 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.4638, allocations: 433.1 kB / 0.6488 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.464, allocations: 188 kB / 0.649 GB, free: 6.586 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.001969/0.466, allocations: 1.342 MB / 0.6503 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.4662, allocations: 166.9 kB / 0.6504 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.4666, allocations: 192.9 kB / 0.6506 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.4666, allocations: 15.94 kB / 0.6506 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4666, allocations: 4 kB / 0.6506 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.4666, allocations: 3.984 kB / 0.6506 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/0.4734, allocations: 3.993 MB / 0.6545 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.4735, allocations: 4 kB / 0.6545 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.4739, allocations: 103.8 kB / 0.6546 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.4739, allocations: 12.03 kB / 0.6546 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.4739, allocations: 23.98 kB / 0.6547 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.4739, allocations: 15.94 kB / 0.6547 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.4739, allocations: 11.94 kB / 0.6547 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.4755, allocations: 1.27 MB / 0.6559 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.4758, allocations: 174.7 kB / 0.6561 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.476, allocations: 19.98 kB / 0.6561 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.4765, allocations: 31.88 kB / 0.6562 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4766, allocations: 63.73 kB / 0.6562 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.4767, allocations: 31.98 kB / 0.6562 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001738/0.4784, allocations: 1.267 MB / 0.6575 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4784, allocations: 4 kB / 0.6575 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002378/0.4808, allocations: 0.6852 MB / 0.6582 GB, free: 12.91 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.0002976/0.4811, allocations: 142.9 kB / 0.6583 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.484, allocations: 1.96 MB / 0.6602 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.484, allocations: 0 / 0.6602 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.4846, allocations: 441 kB / 0.6606 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4857, allocations: 232.5 kB / 0.6608 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/0.4938, allocations: 5.126 MB / 0.6659 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.4963, allocations: 1.712 MB / 0.6675 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002086/0.4984, allocations: 0.9559 MB / 0.6685 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.4987, allocations: 123.4 kB / 0.6686 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.4987, allocations: 0 / 0.6686 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of Templates: time 0.03598/0.5347, allocations: 17.14 MB / 0.6853 GB, free: 0.9766 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.774359650909901]