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.001167/0.001167, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001394/0.001394, allocations: 169 kB / 24.14 MB, free: 364 kB / 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 0.9593/0.9593, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1374/0.1374, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",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.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.358e-05, allocations: 6.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1479/0.1479, allocations: 11.87 MB / 311 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008148/0.1561, allocations: 3.434 MB / 314.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.1593, allocations: 69.19 kB / 314.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005634/0.1649, allocations: 2.802 MB / 317.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005197/0.1701, allocations: 1.44 MB / 318.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1713, allocations: 388.3 kB / 319.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005021/0.1763, allocations: 2.77 MB / 321.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003274/0.1796, allocations: 2.589 MB / 324.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.1825, allocations: 1.785 MB / 326.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.1851, allocations: 1.57 MB / 327.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000763/0.1859, allocations: 296 kB / 328.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.1874, allocations: 0.7451 MB / 328.8 MB, free: 372 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.1892, allocations: 1.667 MB / 330.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.1914, allocations: 1.036 MB / 331.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.1973, allocations: 3.701 MB / 335.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.1973, allocations: 3.984 kB / 335.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1973, allocations: 0 / 335.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001835/0.1975, allocations: 0 / 335.2 MB, free: 9.934 MB / 298.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.00542/0.2029, allocations: 3.536 MB / 338.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.203, allocations: 8.031 kB / 338.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.2054, allocations: 0.9605 MB / 339.8 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.207, allocations: 1.307 MB / 341.1 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.2072, allocations: 206.6 kB / 341.3 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.2075, allocations: 264.4 kB / 341.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004873/0.2123, allocations: 3.733 MB / 345.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.2124, allocations: 11.88 kB / 345.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.2126, allocations: 123.9 kB / 345.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001442/0.214, allocations: 1.596 MB / 347 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003434/0.2175, allocations: 1.954 MB / 348.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.2386, allocations: 18.83 MB / 367.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.2417, allocations: 1.131 MB / 368.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.2422, allocations: 233.2 kB / 369.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004829/0.247, allocations: 2.558 MB / 371.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.247, allocations: 47.5 kB / 371.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 3.246e-06/0.247, allocations: 0 / 371.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.004315/0.2514, allocations: 1.419 MB / 373.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.2514, allocations: 72.33 kB / 373.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.2534, allocations: 1.613 MB / 374.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.2535, allocations: 41.7 kB / 374.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001527/0.255, allocations: 2.325 MB / 377.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.2553, allocations: 480.2 kB / 377.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/0.256, allocations: 0.7033 MB / 378.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2561, allocations: 353.8 kB / 378.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.2567, allocations: 384.5 kB / 379.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2584, allocations: 2.443 MB / 381.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/0.2618, allocations: 3.273 MB / 384.8 MB, free: 5.055 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.869e-05/0.2618, allocations: 20 kB / 384.8 MB, free: 5.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.003341/0.2652, allocations: 2.356 MB / 387.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.2652, allocations: 36 kB / 387.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.2653, allocations: 76 kB / 387.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-05/0.2654, allocations: 100 kB / 387.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.2674, allocations: 0.8344 MB / 388.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001022/0.2676, allocations: 151.4 kB / 388.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.2693, allocations: 484.4 kB / 388.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.2696, allocations: 192.3 kB / 389 MB, free: 0.8164 MB / 346.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 (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]) * 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.00146/0.271, allocations: 414.7 kB / 389.4 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.2712, allocations: 127.8 kB / 389.6 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009442/0.2722, allocations: 0.5967 MB / 390.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.2722, allocations: 12 kB / 390.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.2722, allocations: 0 / 390.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.2722, allocations: 3.984 kB / 390.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.2774, allocations: 3.071 MB / 393.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.2774, allocations: 12 kB / 393.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.2778, allocations: 195.6 kB / 393.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.2778, allocations: 24.03 kB / 393.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.2779, allocations: 32 kB / 393.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.2779, allocations: 31.86 kB / 393.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/0.2779, allocations: 19.94 kB / 393.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.2789, allocations: 1.177 MB / 394.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.2791, allocations: 202.3 kB / 394.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.2792, allocations: 35.98 kB / 395 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.2796, allocations: 28 kB / 395 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.2797, allocations: 115.5 kB / 395.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.2798, allocations: 47.98 kB / 395.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00058/0.2803, allocations: 0.6219 MB / 395.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2803, allocations: 0 / 395.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002692/0.283, allocations: 0.9807 MB / 396.8 MB, free: 8.559 MB / 362.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.0003024/0.2833, allocations: 148 kB / 396.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.2849, allocations: 1.405 MB / 398.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.72e-05/0.285, allocations: 51.94 kB / 398.4 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.2853, allocations: 290.9 kB / 398.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.2861, allocations: 244.6 kB / 398.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007937/0.2941, allocations: 6.289 MB / 405.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008824/0.295, allocations: 1.01 MB / 406.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007921/0.2958, allocations: 305.8 kB / 406.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.2962, allocations: 331.2 kB / 406.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.285e-06/0.2962, allocations: 0 / 406.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of Templates: time 0.02847/0.3247, allocations: 15.98 MB / 422.8 MB, free: 14.32 MB / 394.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] 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","",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.391577386762947]