Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 211.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.4 MB / 258.7 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.93 MB / 362.1 MB, free: 4.234 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 79.88 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3286, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01181/0.3404, allocations: 9.509 MB / 0.5716 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005912/0.3463, allocations: 2.939 MB / 0.5745 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.3471, allocations: 55.81 kB / 0.5745 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.3509, allocations: 2.037 MB / 0.5765 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.3532, allocations: 1.136 MB / 0.5776 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.3539, allocations: 283.5 kB / 0.5779 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.3569, allocations: 2.33 MB / 0.5802 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.3595, allocations: 1.742 MB / 0.5819 GB, free: 120 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.3611, allocations: 0.8839 MB / 0.5827 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.363, allocations: 1.254 MB / 0.584 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003517/0.3634, allocations: 196 kB / 0.5842 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3646, allocations: 0.6123 MB / 0.5847 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.3659, allocations: 1.141 MB / 0.5859 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.3676, allocations: 1.308 MB / 0.5871 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.3727, allocations: 4.338 MB / 0.5914 GB, free: 6.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3727, allocations: 0 / 0.5914 GB, free: 6.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3727, allocations: 0 / 0.5914 GB, free: 6.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.655e-05/0.3728, allocations: 0 / 0.5914 GB, free: 6.352 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.004934/0.3777, allocations: 2.862 MB / 0.5942 GB, free: 3.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.3778, allocations: 15.97 kB / 0.5942 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004851/0.3826, allocations: 1.578 MB / 0.5957 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.3849, allocations: 1.279 MB / 0.597 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.385, allocations: 144 kB / 0.5971 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.3853, allocations: 191.8 kB / 0.5973 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009458/0.3948, allocations: 6.242 MB / 0.6034 GB, free: 9.691 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.929e-05/0.3949, allocations: 15.88 kB / 0.6034 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.3951, allocations: 87.91 kB / 0.6035 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002066/0.3972, allocations: 1.34 MB / 0.6048 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009225/0.4064, allocations: 5.34 MB / 0.61 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02606/0.4324, allocations: 19.91 MB / 0.6295 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/0.4368, allocations: 1.488 MB / 0.6309 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4379, allocations: 0.6328 MB / 0.6315 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006592/0.4445, allocations: 3.156 MB / 0.6346 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4445, allocations: 39 kB / 0.6347 GB, free: 9.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.4445, allocations: 0 / 0.6347 GB, free: 9.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005488/0.45, allocations: 1.986 MB / 0.6366 GB, free: 7.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4501, allocations: 59.78 kB / 0.6366 GB, free: 6.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.4529, allocations: 1.942 MB / 0.6385 GB, free: 5.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.453, allocations: 37.7 kB / 0.6386 GB, free: 4.977 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.4544, allocations: 1.911 MB / 0.6404 GB, free: 3.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.4548, allocations: 329.5 kB / 0.6408 GB, free: 2.719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007655/0.4555, allocations: 0.6195 MB / 0.6414 GB, free: 2.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4557, allocations: 361.9 kB / 0.6417 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.4571, allocations: 0.8881 MB / 0.6426 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.4602, allocations: 2.748 MB / 0.6453 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005084/0.4653, allocations: 3.976 MB / 0.6491 GB, free: 8.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.583e-05/0.4653, allocations: 20 kB / 0.6492 GB, free: 8.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005791/0.4711, allocations: 3.524 MB / 0.6526 GB, free: 4.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.4712, allocations: 32 kB / 0.6526 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-05/0.4712, allocations: 68 kB / 0.6527 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.74e-05/0.4713, allocations: 88 kB / 0.6528 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.4732, allocations: 0.6666 MB / 0.6534 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001148/0.4733, allocations: 127.5 kB / 0.6536 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4751, allocations: 424.8 kB / 0.654 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.4753, allocations: 196 kB / 0.6541 GB, free: 3.125 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.002007/0.4773, allocations: 1.342 MB / 0.6555 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.4776, allocations: 162.9 kB / 0.6556 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.4779, allocations: 196.9 kB / 0.6558 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.478, allocations: 11.94 kB / 0.6558 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.478, allocations: 3.984 kB / 0.6558 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.478, allocations: 0 / 0.6558 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.4843, allocations: 4 MB / 0.6597 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4843, allocations: 8 kB / 0.6597 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.4847, allocations: 99.83 kB / 0.6598 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.4847, allocations: 12.77 kB / 0.6598 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.4848, allocations: 20 kB / 0.6599 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.4848, allocations: 23.88 kB / 0.6599 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4848, allocations: 4 kB / 0.6599 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.4864, allocations: 1.274 MB / 0.6611 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.4867, allocations: 178.7 kB / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.4869, allocations: 12 kB / 0.6613 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.4873, allocations: 31.94 kB / 0.6613 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4874, allocations: 59.8 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.4875, allocations: 28 kB / 0.6614 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001773/0.4892, allocations: 1.271 MB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4892, allocations: 0 / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002392/0.4916, allocations: 0.6852 MB / 0.6633 GB, free: 9.461 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.0003004/0.4919, allocations: 150.8 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00307/0.495, allocations: 1.959 MB / 0.6654 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.495, allocations: 1.812 kB / 0.6654 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.4956, allocations: 445.2 kB / 0.6658 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.4968, allocations: 244.4 kB / 0.6661 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008914/0.5058, allocations: 5.126 MB / 0.6711 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/0.5086, allocations: 2.271 MB / 0.6733 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002126/0.5107, allocations: 0.9636 MB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.511, allocations: 119.4 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of SimCode: time 1.522e-06/0.511, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.0347/0.5457, allocations: 17.13 MB / 0.6911 GB, free: 12.94 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 5.581113809952512]