Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001418/0.001418, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001015/0.001015, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9443/0.9443, allocations: 177.1 MB / 205 MB, free: 5.293 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.2618/0.2618, allocations: 32.8 MB / 294.3 MB, free: 1.172 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.57e-05, allocations: 5.125 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.008239/0.008265, allocations: 9.239 MB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.01348, allocations: 2.862 MB / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.01465, allocations: 55.81 kB / 388.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.01708, allocations: 2.146 MB / 390.3 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.01927, allocations: 1.175 MB / 391.5 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.01987, allocations: 319.2 kB / 391.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.02271, allocations: 2.36 MB / 394.2 MB, free: 2.449 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.02503, allocations: 1.797 MB / 396 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.02702, allocations: 1.294 MB / 397.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.02857, allocations: 1.177 MB / 398.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005125/0.02909, allocations: 192 kB / 398.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.03034, allocations: 0.6513 MB / 399.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008594/0.0312, allocations: 1.18 MB / 400.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.03209, allocations: 0.7202 MB / 401.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.03474, allocations: 2.717 MB / 403.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.03474, allocations: 4 kB / 403.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03475, allocations: 0 / 403.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.599e-05/0.0348, allocations: 4 kB / 403.9 MB, free: 8.652 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.003479/0.03828, allocations: 3.134 MB / 407 MB, free: 5.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.03832, allocations: 12.03 kB / 407 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.04158, allocations: 1.867 MB / 408.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.0435, allocations: 1.227 MB / 410.1 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/0.04358, allocations: 144 kB / 410.3 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.04377, allocations: 192.2 kB / 410.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003888/0.04766, allocations: 3.317 MB / 413.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.04769, allocations: 11.88 kB / 413.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.04785, allocations: 87.91 kB / 413.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/0.04901, allocations: 1.34 MB / 415.2 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.05222, allocations: 1.806 MB / 417 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.06571, allocations: 20.62 MB / 437.6 MB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.06752, allocations: 0.8925 MB / 438.5 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.06783, allocations: 217.9 kB / 438.7 MB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003009/0.07084, allocations: 2.584 MB / 441.3 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.07086, allocations: 41.89 kB / 441.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.285e-06/0.07087, allocations: 0 / 441.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002542/0.07341, allocations: 1.288 MB / 442.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.07344, allocations: 59.91 kB / 442.7 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1495/0.2229, allocations: 1.795 MB / 444.5 MB, free: 87.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.223, allocations: 35.55 kB / 444.5 MB, free: 87.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/0.2237, allocations: 2.014 MB / 446.6 MB, free: 86.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.2239, allocations: 336.5 kB / 446.9 MB, free: 86.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.2244, allocations: 0.6685 MB / 447.6 MB, free: 85.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.2245, allocations: 0.5221 MB / 448.1 MB, free: 85.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.2249, allocations: 294.1 kB / 448.4 MB, free: 85.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.226, allocations: 3.051 MB / 451.4 MB, free: 81.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.228, allocations: 3.685 MB / 455.1 MB, free: 78.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/0.228, allocations: 19.81 kB / 455.1 MB, free: 78.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00267/0.2307, allocations: 2.503 MB / 457.6 MB, free: 78.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.2307, allocations: 32.41 kB / 457.7 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/0.2308, allocations: 64.38 kB / 457.7 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-05/0.2309, allocations: 87.83 kB / 457.8 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.2319, allocations: 0.6564 MB / 458.5 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.636e-05/0.232, allocations: 136.6 kB / 458.6 MB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/0.233, allocations: 414.8 kB / 459 MB, free: 77.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.2331, allocations: 182.3 kB / 459.2 MB, free: 77.93 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.000604/0.2337, allocations: 414.7 kB / 459.6 MB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2338, allocations: 172.6 kB / 459.7 MB, free: 77.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.234, allocations: 163.4 kB / 459.9 MB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.234, allocations: 9.625 kB / 459.9 MB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.234, allocations: 0 / 459.9 MB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.234, allocations: 7.281 kB / 459.9 MB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.237, allocations: 2.856 MB / 462.8 MB, free: 76.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.237, allocations: 10.16 kB / 462.8 MB, free: 76.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.2372, allocations: 100.3 kB / 462.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2372, allocations: 9.906 kB / 462.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.2373, allocations: 23.33 kB / 462.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.2373, allocations: 13.62 kB / 462.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.2373, allocations: 10.5 kB / 462.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.2379, allocations: 0.9038 MB / 463.8 MB, free: 76.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.238, allocations: 157.6 kB / 464 MB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.2381, allocations: 17.89 kB / 464 MB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.2383, allocations: 25.59 kB / 464 MB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.2384, allocations: 61 kB / 464.1 MB, free: 76.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.2384, allocations: 31.88 kB / 464.1 MB, free: 76.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006102/0.239, allocations: 0.7815 MB / 464.9 MB, free: 75.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.239, allocations: 4 kB / 464.9 MB, free: 75.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00144/0.2405, allocations: 0.7 MB / 465.6 MB, free: 75.76 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.0002333/0.2407, allocations: 146.9 kB / 465.8 MB, free: 75.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.2419, allocations: 1.26 MB / 467 MB, free: 75.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2419, allocations: 0 / 467 MB, free: 75.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.2421, allocations: 206.8 kB / 467.2 MB, free: 75.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.2427, allocations: 190.7 kB / 467.4 MB, free: 75.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.2466, allocations: 4.39 MB / 471.8 MB, free: 72.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.2471, allocations: 0.7624 MB / 472.6 MB, free: 72.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009657/0.248, allocations: 0.8053 MB / 473.4 MB, free: 72.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.2482, allocations: 115.6 kB / 473.5 MB, free: 72.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2482, allocations: 0 / 473.5 MB, free: 72.56 MB / 410.7 MB Notification: Performance of Templates: time 0.01758/0.2658, allocations: 11.51 MB / 485 MB, free: 71.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.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.6660864651203156]