Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0009934/0.0009934, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00105/0.00105, allocations: 171.2 kB / 24.82 MB, free: 9.27 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 0.9719/0.9719, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2605/0.2605, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.735e-05, allocations: 2.312 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01092/0.01095, allocations: 9.012 MB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.01687, allocations: 2.842 MB / 388.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.01794, allocations: 55.81 kB / 388.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.02032, allocations: 2.11 MB / 390.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.02207, allocations: 1.182 MB / 391.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.02255, allocations: 311.2 kB / 392 MB, free: 4.836 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.02454, allocations: 2.37 MB / 394.3 MB, free: 2.461 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.0259, allocations: 1.801 MB / 396.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.02692, allocations: 1.294 MB / 397.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009859/0.02791, allocations: 1.177 MB / 398.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.02809, allocations: 196 kB / 398.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.02884, allocations: 0.6396 MB / 399.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006766/0.02951, allocations: 1.192 MB / 400.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.02999, allocations: 0.7241 MB / 401.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.0318, allocations: 2.717 MB / 404.1 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.03181, allocations: 4 kB / 404.1 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.03181, allocations: 0 / 404.1 MB, free: 8.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.03183, allocations: 0 / 404.1 MB, free: 8.656 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002579/0.0344, allocations: 3.114 MB / 407.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.03444, allocations: 8.031 kB / 407.2 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.03637, allocations: 0.9823 MB / 408.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.03744, allocations: 1.138 MB / 409.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.03751, allocations: 148 kB / 409.5 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.03771, allocations: 192.2 kB / 409.7 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.04064, allocations: 3.031 MB / 412.7 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.04067, allocations: 11.88 kB / 412.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.04082, allocations: 87.91 kB / 412.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/0.04191, allocations: 1.196 MB / 414 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.04394, allocations: 1.444 MB / 415.4 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.05877, allocations: 20.46 MB / 435.9 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.0605, allocations: 0.8371 MB / 436.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.06074, allocations: 197.8 kB / 436.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003041/0.06378, allocations: 2.478 MB / 439.4 MB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.06381, allocations: 37.89 kB / 439.4 MB, free: 4.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.06381, allocations: 3.938 kB / 439.4 MB, free: 4.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002498/0.06631, allocations: 1.229 MB / 440.7 MB, free: 2.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.06635, allocations: 55.91 kB / 440.7 MB, free: 2.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.06808, allocations: 1.794 MB / 442.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.06811, allocations: 33.7 kB / 442.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1656/0.2337, allocations: 2.017 MB / 444.6 MB, free: 87.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.2341, allocations: 343.5 kB / 444.9 MB, free: 87.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005335/0.2346, allocations: 0.6877 MB / 445.6 MB, free: 87.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2347, allocations: 0.5279 MB / 446.1 MB, free: 87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.2351, allocations: 233 kB / 446.3 MB, free: 86.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.2361, allocations: 3.006 MB / 449.3 MB, free: 83.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.238, allocations: 3.621 MB / 453 MB, free: 79.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-05/0.2381, allocations: 19.97 kB / 453 MB, free: 79.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002887/0.241, allocations: 2.333 MB / 455.3 MB, free: 79.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.241, allocations: 34.78 kB / 455.3 MB, free: 79.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.429e-05/0.2411, allocations: 65.66 kB / 455.4 MB, free: 79.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.916e-05/0.2411, allocations: 89.97 kB / 455.5 MB, free: 79.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.2422, allocations: 0.6413 MB / 456.1 MB, free: 79.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.366e-05/0.2423, allocations: 128.5 kB / 456.3 MB, free: 79.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2435, allocations: 409.6 kB / 456.7 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.2437, allocations: 163.9 kB / 456.8 MB, free: 79.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.0009569/0.2447, allocations: 409.5 kB / 457.2 MB, free: 79.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.2449, allocations: 171.4 kB / 457.4 MB, free: 79.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.2451, allocations: 157.3 kB / 457.5 MB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.2451, allocations: 12.55 kB / 457.6 MB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2451, allocations: 8.797 kB / 457.6 MB, free: 79.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2451, allocations: 3.234 kB / 457.6 MB, free: 79.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.2486, allocations: 2.795 MB / 460.4 MB, free: 78.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.2486, allocations: 10.16 kB / 460.4 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.2488, allocations: 92.7 kB / 460.5 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.2488, allocations: 12.98 kB / 460.5 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.2488, allocations: 19.78 kB / 460.5 MB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.2488, allocations: 10.19 kB / 460.5 MB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.2488, allocations: 17.53 kB / 460.5 MB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007737/0.2496, allocations: 0.8655 MB / 461.4 MB, free: 77.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.2498, allocations: 164.4 kB / 461.6 MB, free: 77.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.2499, allocations: 19.59 kB / 461.6 MB, free: 77.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2501, allocations: 16.75 kB / 461.6 MB, free: 77.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.2502, allocations: 57.22 kB / 461.6 MB, free: 77.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.2502, allocations: 32.19 kB / 461.7 MB, free: 77.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006324/0.2508, allocations: 0.7306 MB / 462.4 MB, free: 77.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2508, allocations: 2.969 kB / 462.4 MB, free: 77.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002486/0.2533, allocations: 0.7027 MB / 463.1 MB, free: 77.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003032/0.2536, allocations: 141.8 kB / 463.3 MB, free: 77.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.2554, allocations: 1.191 MB / 464.4 MB, free: 77.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.2554, allocations: 384 / 464.4 MB, free: 77.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2556, allocations: 195.5 kB / 464.6 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.2563, allocations: 187.6 kB / 464.8 MB, free: 77.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006147/0.2625, allocations: 4.381 MB / 469.2 MB, free: 75.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.2633, allocations: 0.7612 MB / 470 MB, free: 74.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007387/0.264, allocations: 244 kB / 470.2 MB, free: 74.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.2644, allocations: 303.3 kB / 470.5 MB, free: 74.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.624e-06/0.2644, allocations: 0 / 470.5 MB, free: 74.83 MB / 410.7 MB Notification: Performance of Templates: time 0.02632/0.2907, allocations: 12.45 MB / 482.9 MB, free: 73.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.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.5335587793961167]