Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001117/0.001117, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001691/0.001691, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.031/1.031, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1612/0.1612, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.725e-05, allocations: 6.25 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.006392/0.006409, allocations: 9.534 MB / 388.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.01071, allocations: 2.988 MB / 391.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.01172, allocations: 59.81 kB / 391.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.01413, allocations: 2.761 MB / 394.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.01574, allocations: 1.256 MB / 395.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.01624, allocations: 379.2 kB / 396.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01805, allocations: 2.593 MB / 398.8 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.01953, allocations: 2.32 MB / 401.2 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.02054, allocations: 1.555 MB / 402.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.02163, allocations: 1.387 MB / 404.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.02184, allocations: 252 kB / 404.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007417/0.02258, allocations: 0.6904 MB / 405 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007841/0.02336, allocations: 1.426 MB / 406.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000607/0.02397, allocations: 0.8801 MB / 407.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.02641, allocations: 3.164 MB / 410.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.02641, allocations: 0 / 410.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.02641, allocations: 4 kB / 410.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.02643, allocations: 0 / 410.5 MB, free: 8.02 MB / 330.7 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.002932/0.02936, allocations: 3.547 MB / 414.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.0294, allocations: 12.03 kB / 414.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.03147, allocations: 1.064 MB / 415.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.03303, allocations: 1.283 MB / 416.4 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.03311, allocations: 177 kB / 416.6 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.03334, allocations: 236.2 kB / 416.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.03658, allocations: 3.434 MB / 420.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.03662, allocations: 11.88 kB / 420.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.03679, allocations: 107.9 kB / 420.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001048/0.03784, allocations: 1.295 MB / 421.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.04041, allocations: 1.621 MB / 423.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.05516, allocations: 21.59 MB / 444.9 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.05705, allocations: 0.9484 MB / 445.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.05729, allocations: 206.2 kB / 446 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002775/0.06007, allocations: 2.547 MB / 448.6 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.06009, allocations: 42.05 kB / 448.6 MB, free: 0.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 2.445e-06/0.06009, allocations: 0 / 448.6 MB, free: 0.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.002736/0.06283, allocations: 1.429 MB / 450 MB, free: 15.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.06286, allocations: 60.06 kB / 450.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.06443, allocations: 1.861 MB / 452 MB, free: 13.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.06447, allocations: 37.7 kB / 452 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.06548, allocations: 2.229 MB / 454.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.06568, allocations: 377.2 kB / 454.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000596/0.06628, allocations: 0.7207 MB / 455.3 MB, free: 9.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.06646, allocations: 0.5315 MB / 455.9 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.06675, allocations: 242 kB / 456.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.06859, allocations: 3.124 MB / 459.2 MB, free: 4.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.0707, allocations: 3.77 MB / 463 MB, free: 15.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.07072, allocations: 20 kB / 463 MB, free: 15.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.002585/0.07331, allocations: 2.429 MB / 465.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.07335, allocations: 39.94 kB / 465.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.0734, allocations: 68.84 kB / 465.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.755e-05/0.07345, allocations: 92 kB / 465.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.07447, allocations: 0.6784 MB / 466.3 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.279e-05/0.07453, allocations: 131.5 kB / 466.4 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/0.07547, allocations: 420.8 kB / 466.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.07561, allocations: 176 kB / 467 MB, free: 11.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3],cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueArrow.twoHeadedArrow) * 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.0006697/0.07628, allocations: 422.8 kB / 467.4 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.07644, allocations: 182.9 kB / 467.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.07662, allocations: 176.9 kB / 467.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.07663, allocations: 11.98 kB / 467.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.07664, allocations: 8 kB / 467.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.07665, allocations: 3.984 kB / 467.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.07986, allocations: 2.492 MB / 470.3 MB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.07987, allocations: 8 kB / 470.3 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.08008, allocations: 103.8 kB / 470.4 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.08009, allocations: 15.98 kB / 470.4 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.08012, allocations: 23.98 kB / 470.4 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.08013, allocations: 15.94 kB / 470.5 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.08013, allocations: 11.94 kB / 470.5 MB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.08079, allocations: 0.9688 MB / 471.4 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.08091, allocations: 162.7 kB / 471.6 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.08099, allocations: 20 kB / 471.6 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.08121, allocations: 19.94 kB / 471.6 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.08128, allocations: 75.66 kB / 471.7 MB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.08131, allocations: 28 kB / 471.7 MB, free: 6.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005378/0.08185, allocations: 0.7524 MB / 472.5 MB, free: 5.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08185, allocations: 0 / 472.5 MB, free: 5.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00159/0.08344, allocations: 0.8133 MB / 473.3 MB, free: 4.848 MB / 394.7 MB 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.0002387/0.08367, allocations: 154.9 kB / 473.5 MB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.08478, allocations: 1.256 MB / 474.7 MB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.08479, allocations: 5 kB / 474.7 MB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.08498, allocations: 210.4 kB / 474.9 MB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.08566, allocations: 227.5 kB / 475.1 MB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.09072, allocations: 5.021 MB / 480.2 MB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.09139, allocations: 0.8759 MB / 481 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005267/0.09192, allocations: 247.5 kB / 481.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.09226, allocations: 314.1 kB / 481.6 MB, free: 12.33 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.09226, allocations: 0 / 481.6 MB, free: 12.33 MB / 410.7 MB Notification: Performance of Templates: time 0.1919/0.2842, allocations: 13.9 MB / 495.5 MB, free: 110 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.832524318713695]