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.000814/0.000814, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0008352/0.0008352, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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 0.8397/0.8397, allocations: 158.6 MB / 185.7 MB, free: 3.031 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.1282/0.1282, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.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 1.984e-06/1.984e-06, allocations: 0 / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.221e-05, allocations: 2.281 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01116/0.01119, allocations: 11.03 MB / 419.1 MB, free: 6.645 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005084/0.01627, allocations: 3.221 MB / 422.3 MB, free: 3.414 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.01708, allocations: 71.81 kB / 422.4 MB, free: 3.344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.01954, allocations: 2.706 MB / 425.1 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.02136, allocations: 1.443 MB / 426.6 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.0219, allocations: 387 kB / 426.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.02414, allocations: 2.924 MB / 429.9 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.02604, allocations: 2.452 MB / 432.3 MB, free: 9.367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.02735, allocations: 1.785 MB / 434.1 MB, free: 7.578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.02864, allocations: 1.594 MB / 435.7 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.02889, allocations: 296 kB / 436 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/0.02975, allocations: 0.7372 MB / 436.7 MB, free: 4.953 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000921/0.03067, allocations: 1.652 MB / 438.4 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.03132, allocations: 1.043 MB / 439.4 MB, free: 2.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.03488, allocations: 5.985 MB / 445.4 MB, free: 12.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.03488, allocations: 3.938 kB / 445.4 MB, free: 12.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.03489, allocations: 0 / 445.4 MB, free: 12.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.478e-05/0.03493, allocations: 4 kB / 445.4 MB, free: 12.24 MB / 426.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.003589/0.03852, allocations: 3.724 MB / 449.1 MB, free: 8.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.03856, allocations: 8.031 kB / 449.1 MB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.04159, allocations: 1.753 MB / 450.9 MB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.04341, allocations: 1.606 MB / 452.5 MB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.04352, allocations: 201.6 kB / 452.7 MB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.0438, allocations: 264.2 kB / 453 MB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006955/0.05075, allocations: 8.386 MB / 461.3 MB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.05079, allocations: 11.88 kB / 461.4 MB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.051, allocations: 131.8 kB / 461.5 MB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001437/0.05244, allocations: 1.76 MB / 463.2 MB, free: 9.973 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007762/0.0602, allocations: 7.03 MB / 470.3 MB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1757/0.2359, allocations: 23.37 MB / 493.6 MB, free: 80.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.2386, allocations: 2.084 MB / 495.7 MB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.2393, allocations: 0.8866 MB / 496.6 MB, free: 79.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00368/0.2429, allocations: 3.865 MB / 0.4887 GB, free: 77.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.243, allocations: 42.69 kB / 0.4888 GB, free: 77.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 3.186e-06/0.243, allocations: 3.5 kB / 0.4888 GB, free: 77.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.003617/0.2466, allocations: 2.869 MB / 0.4916 GB, free: 77.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2466, allocations: 64.73 kB / 0.4917 GB, free: 77.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.2482, allocations: 2.187 MB / 0.4938 GB, free: 76.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.2482, allocations: 46.95 kB / 0.4938 GB, free: 76.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000766/0.249, allocations: 2.403 MB / 0.4962 GB, free: 74.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.2492, allocations: 478.6 kB / 0.4966 GB, free: 74.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005794/0.2498, allocations: 0.7408 MB / 0.4974 GB, free: 73.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.2498, allocations: 351.8 kB / 0.4977 GB, free: 73.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.2509, allocations: 1.121 MB / 0.4988 GB, free: 73.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.2526, allocations: 3.29 MB / 0.502 GB, free: 70.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.256, allocations: 4.821 MB / 0.5067 GB, free: 66.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.603e-05/0.256, allocations: 21.03 kB / 0.5067 GB, free: 66.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.004509/0.2606, allocations: 4.315 MB / 0.5109 GB, free: 64.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.2606, allocations: 37.25 kB / 0.511 GB, free: 64.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-05/0.2607, allocations: 76.22 kB / 0.5111 GB, free: 64.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.632e-05/0.2608, allocations: 104.5 kB / 0.5112 GB, free: 64.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.2621, allocations: 0.8168 MB / 0.512 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.548e-05/0.2622, allocations: 148.2 kB / 0.5121 GB, free: 64.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.2635, allocations: 495.3 kB / 0.5126 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.2637, allocations: 222.8 kB / 0.5128 GB, free: 63.88 MB / 442.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.001785/0.2655, allocations: 1.706 MB / 0.5144 GB, free: 63.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.2656, allocations: 190.5 kB / 0.5146 GB, free: 62.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.267, allocations: 1.51 MB / 0.5161 GB, free: 62.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.267, allocations: 21.09 kB / 0.5161 GB, free: 62.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2671, allocations: 0 / 0.5161 GB, free: 62.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2671, allocations: 5.016 kB / 0.5161 GB, free: 62.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/0.2727, allocations: 6.016 MB / 0.522 GB, free: 60.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.2727, allocations: 15.66 kB / 0.522 GB, free: 60.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.2731, allocations: 194.9 kB / 0.5222 GB, free: 60 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.2731, allocations: 22.25 kB / 0.5222 GB, free: 60 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.2732, allocations: 42.05 kB / 0.5223 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/0.2732, allocations: 25.27 kB / 0.5223 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.2732, allocations: 26.88 kB / 0.5223 GB, free: 59.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2744, allocations: 1.937 MB / 0.5242 GB, free: 57.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.2746, allocations: 199.5 kB / 0.5244 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2747, allocations: 43.92 kB / 0.5244 GB, free: 57.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.275, allocations: 51.75 kB / 0.5245 GB, free: 57.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2752, allocations: 124.6 kB / 0.5246 GB, free: 57.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.2752, allocations: 51.66 kB / 0.5247 GB, free: 57.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009536/0.2762, allocations: 1.247 MB / 0.5259 GB, free: 56.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2762, allocations: 0 / 0.5259 GB, free: 56.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001697/0.2779, allocations: 0.9729 MB / 0.5268 GB, free: 55.57 MB / 442.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.000236/0.2781, allocations: 175.9 kB / 0.527 GB, free: 55.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.2802, allocations: 2.54 MB / 0.5295 GB, free: 53.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2802, allocations: 4 kB / 0.5295 GB, free: 53.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.2807, allocations: 0.6665 MB / 0.5301 GB, free: 52.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.2815, allocations: 225.4 kB / 0.5303 GB, free: 52.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.287, allocations: 7.377 MB / 0.5375 GB, free: 45.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.2884, allocations: 2.279 MB / 0.5398 GB, free: 43.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.2887, allocations: 176.5 kB / 0.5399 GB, free: 43.03 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2887, allocations: 4 kB / 0.5399 GB, free: 43.03 MB / 442.7 MB Notification: Performance of Templates: time 0.03556/0.3242, allocations: 39.24 MB / 0.5783 GB, free: 3.844 MB / 442.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: 6.259512215852737]