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.001523/0.001523, 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.00218/0.00218, allocations: 173.3 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.9868/0.9868, allocations: 158.6 MB / 186 MB, free: 2.32 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.1371/0.1371, allocations: 32.38 MB / 270.7 MB, free: 14.57 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.764e-06/1.764e-06, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.73e-05, allocations: 2.312 kB / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1718/0.1719, allocations: 11.83 MB / 310.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009472/0.1813, allocations: 3.434 MB / 314.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.1846, allocations: 69.56 kB / 314.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004777/0.1893, allocations: 2.843 MB / 317.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.1937, allocations: 1.456 MB / 318.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1949, allocations: 390.9 kB / 319.1 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004585/0.1994, allocations: 2.772 MB / 321.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003708/0.2032, allocations: 2.595 MB / 324.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.2068, allocations: 1.789 MB / 326.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.2086, allocations: 1.562 MB / 327.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004485/0.2091, allocations: 296 kB / 328.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2101, allocations: 0.7411 MB / 328.8 MB, free: 380 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.2115, allocations: 1.671 MB / 330.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.2134, allocations: 1.036 MB / 331.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.218, allocations: 3.693 MB / 335.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.218, allocations: 0 / 335.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.218, allocations: 4 kB / 335.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002404/0.2183, allocations: 0 / 335.2 MB, free: 9.945 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.005009/0.2233, allocations: 3.528 MB / 338.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2233, allocations: 8.031 kB / 338.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.2258, allocations: 0.9605 MB / 339.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.2281, allocations: 1.305 MB / 341 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.2283, allocations: 210.9 kB / 341.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003589/0.2287, allocations: 264.4 kB / 341.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00598/0.2346, allocations: 3.737 MB / 345.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.2347, allocations: 15.81 kB / 345.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.2349, allocations: 119.9 kB / 345.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001449/0.2364, allocations: 1.593 MB / 346.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/0.241, allocations: 1.961 MB / 348.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/0.2634, allocations: 18.83 MB / 367.7 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.2659, allocations: 1.131 MB / 368.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2662, allocations: 235.6 kB / 369.1 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004591/0.2708, allocations: 2.551 MB / 371.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.2709, allocations: 47.5 kB / 371.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 4.608e-06/0.2709, allocations: 0 / 371.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.003388/0.2743, allocations: 1.427 MB / 373.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.2743, allocations: 64.41 kB / 373.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.276, allocations: 1.617 MB / 374.8 MB, free: 1.238 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.2761, allocations: 41.7 kB / 374.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.2773, allocations: 2.321 MB / 377.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.2776, allocations: 480.2 kB / 377.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006048/0.2782, allocations: 0.7033 MB / 378.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2784, allocations: 353.8 kB / 378.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.2788, allocations: 384.5 kB / 379.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.2804, allocations: 2.451 MB / 381.5 MB, free: 9.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.2836, allocations: 3.268 MB / 384.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-05/0.2837, allocations: 20 kB / 384.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.003441/0.2871, allocations: 2.364 MB / 387.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.2872, allocations: 36 kB / 387.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.9e-05/0.2872, allocations: 76 kB / 387.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.187e-05/0.2873, allocations: 104 kB / 387.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.2887, allocations: 0.7954 MB / 388.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.286e-05/0.2888, allocations: 151.4 kB / 388.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.2903, allocations: 472.5 kB / 388.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.2905, allocations: 192 kB / 389 MB, free: 0.875 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.001216/0.2917, allocations: 422.8 kB / 389.4 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.2919, allocations: 131.8 kB / 389.5 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.2927, allocations: 0.5812 MB / 390.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.2927, allocations: 16 kB / 390.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2927, allocations: 3.938 kB / 390.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2927, allocations: 7.969 kB / 390.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00545/0.2982, allocations: 3.071 MB / 393.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.2982, allocations: 19.94 kB / 393.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.2986, allocations: 175.7 kB / 393.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.2986, allocations: 20.75 kB / 393.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.2987, allocations: 35.98 kB / 393.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-05/0.2987, allocations: 35.86 kB / 393.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-05/0.2987, allocations: 23.88 kB / 393.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2999, allocations: 1.169 MB / 394.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.3002, allocations: 202.3 kB / 394.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3003, allocations: 35.98 kB / 394.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3007, allocations: 32 kB / 394.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3008, allocations: 115.5 kB / 395 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.3009, allocations: 51.95 kB / 395.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006566/0.3015, allocations: 0.6219 MB / 395.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3015, allocations: 0 / 395.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002397/0.3039, allocations: 0.9768 MB / 396.7 MB, free: 8.613 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.0003386/0.3043, allocations: 151.9 kB / 396.8 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.3062, allocations: 1.401 MB / 398.2 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001126/0.3064, allocations: 55.94 kB / 398.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.3067, allocations: 290.9 kB / 398.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.3077, allocations: 245.9 kB / 398.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/0.3174, allocations: 6.278 MB / 405.1 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.3184, allocations: 1.014 MB / 406.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.3194, allocations: 301.9 kB / 406.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.3199, allocations: 327.3 kB / 406.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.607e-06/0.3199, allocations: 0 / 406.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of Templates: time 0.03272/0.3526, allocations: 15.98 MB / 422.7 MB, free: 14.37 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 -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.6555178333073854]