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.001013/0.001013, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001135/0.001135, allocations: 165 kB / 24.56 MB, free: 12 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.99/0.99, allocations: 177.2 MB / 205 MB, free: 5.625 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.2633/0.2633, allocations: 32.81 MB / 294.3 MB, free: 1.273 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 2.435e-06/2.435e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.652e-05/3.895e-05, allocations: 6.25 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008792/0.008831, allocations: 9.239 MB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004854/0.01369, allocations: 2.873 MB / 388.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.0147, allocations: 55.81 kB / 388.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.01703, allocations: 2.138 MB / 390.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.01933, allocations: 1.178 MB / 391.5 MB, free: 5.117 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.01997, allocations: 327.1 kB / 391.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.02323, allocations: 2.359 MB / 394.2 MB, free: 2.434 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.02549, allocations: 1.797 MB / 396 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.02719, allocations: 1.298 MB / 397.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.02856, allocations: 1.173 MB / 398.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.02885, allocations: 192 kB / 398.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.02986, allocations: 0.6512 MB / 399.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008551/0.03072, allocations: 1.18 MB / 400.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009042/0.03162, allocations: 0.7241 MB / 401.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.03514, allocations: 2.72 MB / 403.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.03515, allocations: 0 / 403.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.03515, allocations: 7.938 kB / 403.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.943e-05/0.03525, allocations: 0 / 403.9 MB, free: 8.625 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.004099/0.03935, allocations: 3.126 MB / 407 MB, free: 5.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.0394, allocations: 8.031 kB / 407 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.0425, allocations: 1.875 MB / 408.9 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.04404, allocations: 1.255 MB / 410.2 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.04415, allocations: 148 kB / 410.3 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.04445, allocations: 184.3 kB / 410.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/0.04847, allocations: 3.317 MB / 413.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.0485, allocations: 15.88 kB / 413.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.04865, allocations: 87.89 kB / 413.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001208/0.04986, allocations: 1.336 MB / 415.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00444/0.0543, allocations: 1.802 MB / 417.1 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.07444, allocations: 20.62 MB / 437.7 MB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.07635, allocations: 0.8957 MB / 438.6 MB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.07664, allocations: 225.9 kB / 438.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003066/0.07971, allocations: 2.58 MB / 441.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.07974, allocations: 37.89 kB / 441.4 MB, free: 1.922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.314e-06/0.07974, allocations: 0 / 441.4 MB, free: 1.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002856/0.0826, allocations: 1.292 MB / 442.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.08263, allocations: 59.89 kB / 442.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1904/0.273, allocations: 1.793 MB / 444.5 MB, free: 96.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.2732, allocations: 32.77 kB / 444.6 MB, free: 96.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.2743, allocations: 2.017 MB / 446.6 MB, free: 95.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.2746, allocations: 333.2 kB / 446.9 MB, free: 95.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006015/0.2752, allocations: 0.671 MB / 447.6 MB, free: 95.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2753, allocations: 0.5234 MB / 448.1 MB, free: 94.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.2758, allocations: 291.5 kB / 448.4 MB, free: 94.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.2772, allocations: 3.058 MB / 451.5 MB, free: 91.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.2797, allocations: 3.679 MB / 455.1 MB, free: 87.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.038e-05/0.2798, allocations: 21.28 kB / 455.2 MB, free: 87.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00343/0.2832, allocations: 2.495 MB / 457.7 MB, free: 86.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.2832, allocations: 35.86 kB / 457.7 MB, free: 86.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-05/0.2833, allocations: 68.03 kB / 457.8 MB, free: 86.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.501e-05/0.2834, allocations: 88.19 kB / 457.8 MB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.2845, allocations: 0.6564 MB / 458.5 MB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.2846, allocations: 134.8 kB / 458.6 MB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.2861, allocations: 407.6 kB / 459 MB, free: 86.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.2863, allocations: 188.5 kB / 459.2 MB, free: 86.69 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.0009507/0.2872, allocations: 417.8 kB / 459.6 MB, free: 86.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.2874, allocations: 171.4 kB / 459.8 MB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.2876, allocations: 164.3 kB / 459.9 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.2876, allocations: 13.47 kB / 460 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2876, allocations: 0 / 460 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2876, allocations: 3.188 kB / 460 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.2912, allocations: 2.858 MB / 462.8 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.2912, allocations: 10.03 kB / 462.8 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.2914, allocations: 108.7 kB / 462.9 MB, free: 85.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.2914, allocations: 6.281 kB / 462.9 MB, free: 85.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.2915, allocations: 16.78 kB / 463 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.2915, allocations: 13.33 kB / 463 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.2915, allocations: 13.95 kB / 463 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008425/0.2923, allocations: 0.9026 MB / 463.9 MB, free: 84.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.2926, allocations: 159.1 kB / 464 MB, free: 84.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/0.2927, allocations: 23.84 kB / 464.1 MB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2929, allocations: 27.22 kB / 464.1 MB, free: 84.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.2929, allocations: 57.92 kB / 464.1 MB, free: 84.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.293, allocations: 29.62 kB / 464.2 MB, free: 84.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006647/0.2936, allocations: 0.7763 MB / 465 MB, free: 84.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2936, allocations: 0 / 465 MB, free: 84.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00212/0.2958, allocations: 0.7019 MB / 465.7 MB, free: 83.81 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.0002601/0.296, allocations: 150 kB / 465.8 MB, free: 83.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.2976, allocations: 1.266 MB / 467.1 MB, free: 83.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.2976, allocations: 0 / 467.1 MB, free: 83.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.2979, allocations: 206.2 kB / 467.3 MB, free: 83.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.2986, allocations: 194.9 kB / 467.5 MB, free: 83.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.3035, allocations: 4.393 MB / 471.9 MB, free: 80.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.3041, allocations: 0.7594 MB / 472.6 MB, free: 80.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001155/0.3052, allocations: 0.8045 MB / 473.4 MB, free: 80.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.3054, allocations: 110.5 kB / 473.5 MB, free: 80.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3054, allocations: 4 kB / 473.5 MB, free: 80.35 MB / 410.7 MB Notification: Performance of Templates: time 0.02359/0.329, allocations: 12.03 MB / 485.6 MB, free: 79.02 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.623162272386253]