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.0016/0.0016, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001881/0.001881, allocations: 214.2 kB / 24.49 MB, free: 4.172 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2211/0.2211, allocations: 44.92 MB / 359.6 MB, free: 6.305 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.002229/0.002229, allocations: 75.86 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3618, allocations: 65.46 MB / 0.5582 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01349/0.3753, allocations: 10.2 MB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007466/0.3828, allocations: 3.107 MB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.3846, allocations: 59.81 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005901/0.3905, allocations: 2.644 MB / 0.5739 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.3945, allocations: 1.218 MB / 0.5751 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3957, allocations: 351.3 kB / 0.5754 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004827/0.4005, allocations: 2.536 MB / 0.5779 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.4045, allocations: 2.264 MB / 0.5801 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.4067, allocations: 1.071 MB / 0.5811 GB, free: 68 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.4095, allocations: 1.484 MB / 0.5826 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008069/0.4103, allocations: 252 kB / 0.5828 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.4123, allocations: 0.7879 MB / 0.5836 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.4141, allocations: 1.363 MB / 0.5849 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.417, allocations: 1.557 MB / 0.5864 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007805/0.4248, allocations: 5.128 MB / 0.5914 GB, free: 5.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4248, allocations: 0 / 0.5914 GB, free: 5.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4248, allocations: 0 / 0.5914 GB, free: 5.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.425, allocations: 0 / 0.5914 GB, free: 5.461 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.008794/0.4338, allocations: 3.274 MB / 0.5946 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4338, allocations: 16.02 kB / 0.5947 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/0.4397, allocations: 1.629 MB / 0.5962 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/0.4439, allocations: 1.427 MB / 0.5976 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.4441, allocations: 181 kB / 0.5978 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000957/0.4451, allocations: 235.8 kB / 0.598 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.4611, allocations: 7.11 MB / 0.605 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.4613, allocations: 11.88 kB / 0.605 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000971/0.4623, allocations: 107.9 kB / 0.6051 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00258/0.4648, allocations: 1.443 MB / 0.6065 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.4784, allocations: 5.941 MB / 0.6123 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03819/0.5166, allocations: 22.26 MB / 0.634 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004893/0.5215, allocations: 1.671 MB / 0.6357 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.5227, allocations: 0.7034 MB / 0.6364 GB, free: 6.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007764/0.5305, allocations: 3.397 MB / 0.6397 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.5305, allocations: 43.2 kB / 0.6397 GB, free: 2.953 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.617e-06/0.5305, allocations: 0 / 0.6397 GB, free: 2.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006608/0.5371, allocations: 2.261 MB / 0.6419 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.5372, allocations: 56.06 kB / 0.642 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/0.5412, allocations: 2.056 MB / 0.644 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.5413, allocations: 41.69 kB / 0.644 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.5432, allocations: 2.11 MB / 0.6461 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004817/0.5437, allocations: 361.3 kB / 0.6464 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.5448, allocations: 0.6512 MB / 0.6471 GB, free: 11.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.545, allocations: 369.8 kB / 0.6474 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.5466, allocations: 0.9352 MB / 0.6483 GB, free: 10.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/0.5499, allocations: 2.872 MB / 0.6511 GB, free: 6.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005368/0.5553, allocations: 4.154 MB / 0.6552 GB, free: 1.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.862e-05/0.5554, allocations: 20 kB / 0.6552 GB, free: 1.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007009/0.5624, allocations: 3.703 MB / 0.6588 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.5625, allocations: 32 kB / 0.6589 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/0.5626, allocations: 72.12 kB / 0.6589 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.5627, allocations: 95.98 kB / 0.659 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.565, allocations: 0.6823 MB / 0.6597 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001528/0.5652, allocations: 139.4 kB / 0.6598 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.5678, allocations: 444.6 kB / 0.6602 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/0.5683, allocations: 196 kB / 0.6604 GB, free: 11.75 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.002892/0.5712, allocations: 1.511 MB / 0.6619 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.5715, allocations: 182.8 kB / 0.6621 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.5721, allocations: 214.2 kB / 0.6623 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/0.5721, allocations: 8 kB / 0.6623 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.5721, allocations: 0 / 0.6623 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.5721, allocations: 3.984 kB / 0.6623 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.5825, allocations: 4.916 MB / 0.6671 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.5826, allocations: 8 kB / 0.6671 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.5831, allocations: 115.8 kB / 0.6672 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.989e-05/0.5831, allocations: 11.98 kB / 0.6672 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.5832, allocations: 24 kB / 0.6673 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.5832, allocations: 15.94 kB / 0.6673 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/0.5832, allocations: 11.94 kB / 0.6673 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.5852, allocations: 1.43 MB / 0.6687 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/0.5858, allocations: 222.3 kB / 0.6689 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/0.5861, allocations: 23.94 kB / 0.6689 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/0.5868, allocations: 43.84 kB / 0.669 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.587, allocations: 71.73 kB / 0.669 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.587, allocations: 35.98 kB / 0.6691 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002746/0.5898, allocations: 1.444 MB / 0.6705 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5898, allocations: 4 kB / 0.6705 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003271/0.5931, allocations: 0.7785 MB / 0.6712 GB, free: 372 kB / 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.0004512/0.5935, allocations: 162.8 kB / 0.6714 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004052/0.5976, allocations: 2.072 MB / 0.6734 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.5976, allocations: 8.188 kB / 0.6734 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.5983, allocations: 477.5 kB / 0.6739 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.6002, allocations: 277.1 kB / 0.6741 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.6139, allocations: 6.155 MB / 0.6801 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00401/0.6179, allocations: 2.514 MB / 0.6826 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/0.6185, allocations: 159.4 kB / 0.6828 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of SimCode: time 1.763e-06/0.6185, allocations: 4 kB / 0.6828 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.06036/0.6788, allocations: 34 MB / 0.716 GB, free: 2.441 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.811461121076718]