Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001627/0.001627, allocations: 96.2 kB / 20.21 MB, free: 4.195 MB / 18.57 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.001727/0.001727, allocations: 157.3 kB / 23.51 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2227/0.2227, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.133e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0118/0.01183, allocations: 11.04 MB / 358 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.02265, allocations: 3.213 MB / 361.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.02557, allocations: 67.81 kB / 361.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006988/0.03256, allocations: 2.757 MB / 364 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005428/0.03799, allocations: 1.446 MB / 365.4 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.03954, allocations: 387.1 kB / 365.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006618/0.04616, allocations: 2.93 MB / 368.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.05182, allocations: 2.512 MB / 371.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.05583, allocations: 1.785 MB / 373.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.05936, allocations: 1.59 MB / 374.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.0604, allocations: 300 kB / 374.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.06275, allocations: 0.7372 MB / 375.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002455/0.06521, allocations: 1.652 MB / 377.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.06741, allocations: 1.036 MB / 378.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009831/0.07724, allocations: 5.992 MB / 384.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.07725, allocations: 0 / 384.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.07725, allocations: 0 / 384.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002449/0.07749, allocations: 0 / 384.4 MB, free: 4.215 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01064/0.08813, allocations: 3.724 MB / 388.1 MB, free: 448 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.08819, allocations: 12.03 kB / 388.1 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007905/0.09609, allocations: 2.198 MB / 390.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.1004, allocations: 1.618 MB / 391.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.1006, allocations: 205.5 kB / 392.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000721/0.1013, allocations: 260.2 kB / 392.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.1197, allocations: 8.374 MB / 400.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.005e-05/0.1198, allocations: 15.88 kB / 400.7 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.1202, allocations: 119.9 kB / 400.9 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003563/0.1238, allocations: 1.764 MB / 402.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.1411, allocations: 7.003 MB / 409.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0453/0.1864, allocations: 23.41 MB / 433 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005923/0.1924, allocations: 2.093 MB / 435.1 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.194, allocations: 0.8875 MB / 436 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008282/0.2022, allocations: 3.885 MB / 439.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.2023, allocations: 39.56 kB / 439.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 3.426e-06/0.2023, allocations: 0 / 439.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=120): time 0.007998/0.2103, allocations: 2.908 MB / 442.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.2104, allocations: 60.41 kB / 442.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/0.2137, allocations: 2.184 MB / 445.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/0.2138, allocations: 45.69 kB / 445.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.216, allocations: 2.406 MB / 447.5 MB, free: 3.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006991/0.2167, allocations: 472.3 kB / 448 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.2178, allocations: 0.7466 MB / 448.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.218, allocations: 349.9 kB / 449.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.22, allocations: 1.127 MB / 450.2 MB, free: 1.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1544/0.3743, allocations: 3.283 MB / 453.5 MB, free: 101.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.3795, allocations: 4.811 MB / 458.3 MB, free: 98.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.698e-05/0.3796, allocations: 25.53 kB / 458.3 MB, free: 98.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006767/0.3864, allocations: 4.514 MB / 462.9 MB, free: 96.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.3864, allocations: 39.06 kB / 462.9 MB, free: 96.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.169e-05/0.3865, allocations: 74.34 kB / 463 MB, free: 96.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.292e-05/0.3866, allocations: 101.7 kB / 463.1 MB, free: 96.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.3886, allocations: 0.8164 MB / 463.9 MB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.032e-05/0.3887, allocations: 151.8 kB / 464 MB, free: 96.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.3907, allocations: 499.7 kB / 464.5 MB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.3909, allocations: 224.9 kB / 464.7 MB, free: 96.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.001934/0.3929, allocations: 1.706 MB / 466.4 MB, free: 95.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.3931, allocations: 214.6 kB / 466.7 MB, free: 95.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.3951, allocations: 1.5 MB / 468.2 MB, free: 95.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.3951, allocations: 12.38 kB / 468.2 MB, free: 95.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3951, allocations: 3.969 kB / 468.2 MB, free: 95.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3952, allocations: 7.688 kB / 468.2 MB, free: 95.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/0.4025, allocations: 6.03 MB / 474.2 MB, free: 90.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.4026, allocations: 18.08 kB / 474.2 MB, free: 90.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.4032, allocations: 193.7 kB / 474.4 MB, free: 89.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.4032, allocations: 20 kB / 474.4 MB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/0.4033, allocations: 43.53 kB / 474.5 MB, free: 89.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.4033, allocations: 31.62 kB / 474.5 MB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.4033, allocations: 19.94 kB / 474.5 MB, free: 89.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.4051, allocations: 1.974 MB / 476.5 MB, free: 87.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.4054, allocations: 201.1 kB / 476.7 MB, free: 87.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.4056, allocations: 34.02 kB / 476.7 MB, free: 87.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006753/0.4063, allocations: 45.89 kB / 476.8 MB, free: 87.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4064, allocations: 115.4 kB / 476.9 MB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.4065, allocations: 62.23 kB / 476.9 MB, free: 87.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.4078, allocations: 1.253 MB / 478.2 MB, free: 86.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4078, allocations: 0 / 478.2 MB, free: 86.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002894/0.4106, allocations: 0.9719 MB / 479.2 MB, free: 85.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0002879/0.4109, allocations: 170.4 kB / 479.3 MB, free: 85.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003444/0.4144, allocations: 2.539 MB / 481.9 MB, free: 82.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.4144, allocations: 0 / 481.9 MB, free: 82.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.4151, allocations: 0.6699 MB / 482.5 MB, free: 82.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.4165, allocations: 248.8 kB / 482.8 MB, free: 81.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009133/0.4257, allocations: 7.064 MB / 489.9 MB, free: 74.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/0.428, allocations: 2.289 MB / 492.1 MB, free: 72.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002399/0.4304, allocations: 1.126 MB / 493.3 MB, free: 71.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.4307, allocations: 148.5 kB / 493.4 MB, free: 71.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4307, allocations: 0 / 493.4 MB, free: 71.07 MB / 378.7 MB Notification: Performance of Templates: time 0.02898/0.4597, allocations: 15.01 MB / 0.4965 GB, free: 56.21 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.655956543982029]