Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001262/0.001262, 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.001409/0.001409, allocations: 212.4 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.417/1.417, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2174/0.2174, allocations: 46.93 MB / 362 MB, free: 4.328 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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [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.002351/0.002351, allocations: 79.86 kB / 0.4978 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3357, allocations: 66.07 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01177/0.3475, allocations: 10.09 MB / 0.5722 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006292/0.3538, allocations: 3.092 MB / 0.5752 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.3548, allocations: 59.81 kB / 0.5753 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004736/0.3596, allocations: 2.648 MB / 0.5778 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.3624, allocations: 1.214 MB / 0.579 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.3632, allocations: 355.3 kB / 0.5794 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003355/0.3665, allocations: 2.54 MB / 0.5818 GB, free: 208 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.3692, allocations: 2.265 MB / 0.5841 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.3705, allocations: 1.063 MB / 0.5851 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.3724, allocations: 1.48 MB / 0.5865 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.3728, allocations: 252 kB / 0.5868 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.374, allocations: 0.6826 MB / 0.5874 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.3753, allocations: 1.363 MB / 0.5888 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.3768, allocations: 1.553 MB / 0.5903 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005627/0.3824, allocations: 5.144 MB / 0.5953 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3824, allocations: 0 / 0.5953 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3824, allocations: 0 / 0.5953 GB, free: 2.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.784e-05/0.3825, allocations: 0 / 0.5953 GB, free: 2.328 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.005761/0.3883, allocations: 3.274 MB / 0.5985 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3883, allocations: 12.03 kB / 0.5985 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/0.3932, allocations: 1.625 MB / 0.6001 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003161/0.3964, allocations: 1.439 MB / 0.6015 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.3965, allocations: 176.9 kB / 0.6017 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004837/0.397, allocations: 235.8 kB / 0.6019 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.4086, allocations: 7.106 MB / 0.6089 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.4087, allocations: 11.88 kB / 0.6089 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.4089, allocations: 111.9 kB / 0.609 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.4111, allocations: 1.443 MB / 0.6104 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.4224, allocations: 5.952 MB / 0.6162 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/0.4549, allocations: 22.15 MB / 0.6378 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/0.4593, allocations: 1.661 MB / 0.6394 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.4603, allocations: 0.6995 MB / 0.6401 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006429/0.4668, allocations: 3.397 MB / 0.6434 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4668, allocations: 39.22 kB / 0.6435 GB, free: 15.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 2.615e-06/0.4668, allocations: 0 / 0.6435 GB, free: 15.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.00608/0.4729, allocations: 2.257 MB / 0.6457 GB, free: 13.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.4729, allocations: 60.06 kB / 0.6457 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.4758, allocations: 2.056 MB / 0.6478 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.4758, allocations: 37.7 kB / 0.6478 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.4773, allocations: 2.114 MB / 0.6499 GB, free: 9.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.4777, allocations: 357.3 kB / 0.6502 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007787/0.4784, allocations: 0.6512 MB / 0.6508 GB, free: 8.348 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4786, allocations: 369.9 kB / 0.6512 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4799, allocations: 0.9313 MB / 0.6521 GB, free: 7.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/0.4828, allocations: 2.868 MB / 0.6549 GB, free: 3.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.4875, allocations: 4.155 MB / 0.6589 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-05/0.4876, allocations: 20 kB / 0.659 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005575/0.4931, allocations: 3.719 MB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.4932, allocations: 38.06 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.698e-05/0.4933, allocations: 72 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-05/0.4933, allocations: 88 kB / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.4952, allocations: 0.6862 MB / 0.6635 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.4954, allocations: 135.5 kB / 0.6636 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4971, allocations: 452.6 kB / 0.664 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.4973, allocations: 196 kB / 0.6642 GB, free: 8.707 MB / 0.4981 GB 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.002174/0.4995, allocations: 1.511 MB / 0.6657 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.4997, allocations: 174.8 kB / 0.6658 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.5001, allocations: 210.2 kB / 0.6661 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.5001, allocations: 11.98 kB / 0.6661 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.5001, allocations: 0 / 0.6661 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5001, allocations: 0 / 0.6661 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/0.5077, allocations: 4.923 MB / 0.6709 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.5077, allocations: 8 kB / 0.6709 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.5081, allocations: 115.8 kB / 0.671 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.5081, allocations: 12 kB / 0.671 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.5082, allocations: 20 kB / 0.671 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.5082, allocations: 19.92 kB / 0.671 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.5082, allocations: 11.94 kB / 0.671 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.5099, allocations: 1.43 MB / 0.6724 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.5103, allocations: 218.4 kB / 0.6727 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5105, allocations: 16 kB / 0.6727 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.511, allocations: 39.92 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5111, allocations: 67.73 kB / 0.6728 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.5111, allocations: 35.98 kB / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001998/0.5131, allocations: 1.452 MB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5131, allocations: 0 / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002614/0.5157, allocations: 0.7825 MB / 0.675 GB, free: 13.34 MB / 0.5137 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.0003216/0.5161, allocations: 162.8 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003113/0.5192, allocations: 2.08 MB / 0.6772 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5192, allocations: 0 / 0.6772 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006328/0.5198, allocations: 481.4 kB / 0.6776 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.521, allocations: 274.3 kB / 0.6779 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009889/0.5309, allocations: 5.802 MB / 0.6836 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.5337, allocations: 2.51 MB / 0.686 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002249/0.536, allocations: 1.028 MB / 0.687 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.5363, allocations: 139.4 kB / 0.6871 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/0.5363, allocations: 0 / 0.6871 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of Templates: time 0.03896/0.5753, allocations: 19.3 MB / 0.706 GB, free: 13.44 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.733942617895082]