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.002541/0.002541, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002844/0.002844, allocations: 169.3 kB / 24.28 MB, free: 148 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 1.599/1.599, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3236/0.3236, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.3.|cutTorque.torque.2.|cutTorque.torque.1.",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.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 375.3 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.627e-05, allocations: 6.25 kB / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0133/0.01332, allocations: 9.161 MB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006527/0.01985, allocations: 2.854 MB / 387.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.02099, allocations: 55.81 kB / 387.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004618/0.02561, allocations: 2.134 MB / 389.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.02835, allocations: 1.182 MB / 390.6 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.02908, allocations: 319.2 kB / 391 MB, free: 5.238 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003172/0.03225, allocations: 2.368 MB / 393.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.03465, allocations: 1.797 MB / 395.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.03624, allocations: 1.29 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.03798, allocations: 1.185 MB / 397.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.03832, allocations: 192 kB / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.03949, allocations: 0.6357 MB / 398.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.04072, allocations: 1.184 MB / 399.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009568/0.04168, allocations: 0.7242 MB / 400.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.04713, allocations: 4.295 MB / 404.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.04714, allocations: 0 / 404.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.04714, allocations: 0 / 404.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.241e-05/0.04719, allocations: 0 / 404.6 MB, free: 7.5 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.006076/0.05327, allocations: 3.403 MB / 408 MB, free: 4.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.05331, allocations: 12.03 kB / 408 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006405/0.05972, allocations: 1.879 MB / 409.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/0.06344, allocations: 1.214 MB / 411.1 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.06361, allocations: 152 kB / 411.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004681/0.06408, allocations: 188.3 kB / 411.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008177/0.07225, allocations: 3.586 MB / 415 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-05/0.07231, allocations: 11.88 kB / 415.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.07258, allocations: 87.91 kB / 415.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/0.07528, allocations: 1.344 MB / 416.5 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008293/0.08358, allocations: 2.031 MB / 418.5 MB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2221/0.3057, allocations: 24.49 MB / 443 MB, free: 93.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.3093, allocations: 0.9035 MB / 443.9 MB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.3099, allocations: 248.5 kB / 444.2 MB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006521/0.3164, allocations: 2.708 MB / 446.9 MB, free: 93.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3164, allocations: 44.14 kB / 446.9 MB, free: 92.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.3165, allocations: 1.344 kB / 446.9 MB, free: 92.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004378/0.3208, allocations: 1.315 MB / 448.2 MB, free: 92.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3209, allocations: 57.62 kB / 448.3 MB, free: 92.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.324, allocations: 2.268 MB / 450.5 MB, free: 92.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.3241, allocations: 31.02 kB / 450.6 MB, free: 92.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.3252, allocations: 2.117 MB / 452.7 MB, free: 91.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.3254, allocations: 359.5 kB / 453 MB, free: 91.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008055/0.3262, allocations: 0.7836 MB / 453.8 MB, free: 91.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3264, allocations: 0.544 MB / 454.4 MB, free: 90.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.327, allocations: 320.3 kB / 454.7 MB, free: 90.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.3285, allocations: 3.173 MB / 457.9 MB, free: 87.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.3314, allocations: 3.827 MB / 461.7 MB, free: 83.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-05/0.3315, allocations: 18.81 kB / 461.7 MB, free: 83.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003654/0.3351, allocations: 2.549 MB / 464.3 MB, free: 82.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.3352, allocations: 33.03 kB / 464.3 MB, free: 82.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.757e-05/0.3352, allocations: 65.31 kB / 464.4 MB, free: 82.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.636e-05/0.3353, allocations: 87.09 kB / 464.4 MB, free: 82.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.3369, allocations: 0.653 MB / 465.1 MB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.588e-05/0.337, allocations: 127.6 kB / 465.2 MB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.3386, allocations: 422.1 kB / 465.6 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.3388, allocations: 188.5 kB / 465.8 MB, free: 81.75 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.001029/0.3398, allocations: 471.7 kB / 466.3 MB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.34, allocations: 174.6 kB / 466.4 MB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.3403, allocations: 161.2 kB / 466.6 MB, free: 81.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.3403, allocations: 9.625 kB / 466.6 MB, free: 81.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3403, allocations: 4 kB / 466.6 MB, free: 81.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3403, allocations: 3.188 kB / 466.6 MB, free: 81.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/0.3456, allocations: 3.521 MB / 470.1 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.3456, allocations: 6 kB / 470.1 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.346, allocations: 107.1 kB / 470.2 MB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.346, allocations: 9.125 kB / 470.3 MB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.346, allocations: 20.16 kB / 470.3 MB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.346, allocations: 16.22 kB / 470.3 MB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.346, allocations: 9.906 kB / 470.3 MB, free: 79.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.3469, allocations: 0.9521 MB / 471.3 MB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.3472, allocations: 154.9 kB / 471.4 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.3473, allocations: 20.25 kB / 471.4 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3477, allocations: 27.12 kB / 471.5 MB, free: 78.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3478, allocations: 69.19 kB / 471.5 MB, free: 78.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.3478, allocations: 33.56 kB / 471.6 MB, free: 78.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.3489, allocations: 0.9261 MB / 472.5 MB, free: 78.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3489, allocations: 0 / 472.5 MB, free: 78.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002166/0.3511, allocations: 0.7005 MB / 473.2 MB, free: 77.84 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.0002648/0.3513, allocations: 143 kB / 473.3 MB, free: 77.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.3532, allocations: 1.406 MB / 474.7 MB, free: 77.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3532, allocations: 0 / 474.7 MB, free: 77.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.3535, allocations: 241.9 kB / 475 MB, free: 77.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009117/0.3544, allocations: 194.3 kB / 475.1 MB, free: 77.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.3604, allocations: 4.463 MB / 479.6 MB, free: 74.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.362, allocations: 1.507 MB / 481.1 MB, free: 74.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001678/0.3637, allocations: 0.8134 MB / 481.9 MB, free: 74.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.364, allocations: 116.7 kB / 482 MB, free: 74.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.364, allocations: 0 / 482 MB, free: 74.04 MB / 410.7 MB Notification: Performance of Templates: time 0.02533/0.3893, allocations: 11.5 MB / 493.5 MB, free: 72.71 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 5.652481573983096]