Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00102/0.00102, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009966/0.0009966, allocations: 169.5 kB / 24.99 MB, free: 8.297 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.9549/0.9549, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2745/0.2745, allocations: 34.26 MB / 296.1 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 4 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.331e-05, allocations: 2.312 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007518/0.007541, allocations: 9.203 MB / 387.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.01162, allocations: 2.858 MB / 390.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.01215, allocations: 55.81 kB / 390.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.01457, allocations: 2.142 MB / 392.3 MB, free: 4.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.01609, allocations: 1.171 MB / 393.4 MB, free: 3.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.01654, allocations: 327.1 kB / 393.8 MB, free: 3.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.01846, allocations: 2.356 MB / 396.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.02008, allocations: 1.797 MB / 397.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009054/0.02098, allocations: 1.294 MB / 399.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009228/0.02191, allocations: 1.177 MB / 400.4 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.02208, allocations: 192 kB / 400.6 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006433/0.02273, allocations: 0.6473 MB / 401.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.02339, allocations: 1.188 MB / 402.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.02391, allocations: 0.7125 MB / 403.1 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.02619, allocations: 2.724 MB / 405.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.02619, allocations: 0 / 405.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02619, allocations: 0 / 405.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.986e-05/0.02622, allocations: 4 kB / 405.8 MB, free: 7.02 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.002876/0.0291, allocations: 3.13 MB / 409 MB, free: 3.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.02914, allocations: 8.031 kB / 409 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.03217, allocations: 1.879 MB / 410.9 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.03379, allocations: 1.219 MB / 412.1 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.03386, allocations: 148 kB / 412.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.03407, allocations: 192.3 kB / 412.4 MB, free: 372 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.03759, allocations: 3.309 MB / 415.7 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.479e-05/0.03762, allocations: 15.88 kB / 415.7 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.03778, allocations: 87.91 kB / 415.8 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001201/0.03898, allocations: 1.34 MB / 417.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.04239, allocations: 1.804 MB / 419 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/0.075, allocations: 20.62 MB / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/0.08057, allocations: 0.8879 MB / 440.5 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/0.08121, allocations: 228 kB / 440.7 MB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006959/0.08817, allocations: 2.58 MB / 443.3 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.0882, allocations: 41.83 kB / 443.3 MB, free: 340 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.066e-06/0.0882, allocations: 4 kB / 443.3 MB, free: 336 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.157/0.2452, allocations: 1.284 MB / 444.6 MB, free: 100.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2453, allocations: 57.81 kB / 444.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.2468, allocations: 1.802 MB / 446.5 MB, free: 99.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.2468, allocations: 36.58 kB / 446.5 MB, free: 99.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/0.2475, allocations: 2.011 MB / 448.5 MB, free: 98.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.2476, allocations: 336.2 kB / 448.8 MB, free: 98.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004526/0.2481, allocations: 0.6704 MB / 449.5 MB, free: 98.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.2481, allocations: 0.523 MB / 450 MB, free: 98.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.2486, allocations: 291.2 kB / 450.3 MB, free: 98.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.2496, allocations: 3.056 MB / 453.4 MB, free: 94.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.2513, allocations: 3.694 MB / 457.1 MB, free: 90.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.2514, allocations: 17.28 kB / 457.1 MB, free: 90.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002366/0.2537, allocations: 2.493 MB / 459.6 MB, free: 89.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.2538, allocations: 31.97 kB / 459.6 MB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.292e-05/0.2538, allocations: 68.27 kB / 459.7 MB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.268e-05/0.2539, allocations: 91.72 kB / 459.8 MB, free: 89.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.2548, allocations: 0.6522 MB / 460.4 MB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.652e-05/0.2549, allocations: 129.7 kB / 460.5 MB, free: 89.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000914/0.2558, allocations: 411.9 kB / 460.9 MB, free: 89.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.256, allocations: 190.7 kB / 461.1 MB, free: 89.01 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.000541/0.2565, allocations: 412.7 kB / 461.5 MB, free: 88.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.2566, allocations: 186.1 kB / 461.7 MB, free: 88.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.2567, allocations: 155.6 kB / 461.9 MB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.2568, allocations: 9.156 kB / 461.9 MB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.2568, allocations: 0 / 461.9 MB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2568, allocations: 3.797 kB / 461.9 MB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.2594, allocations: 2.859 MB / 464.7 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2594, allocations: 9.812 kB / 464.8 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.2596, allocations: 106 kB / 464.9 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.2596, allocations: 6.656 kB / 464.9 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2596, allocations: 20.39 kB / 464.9 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.2596, allocations: 13.75 kB / 464.9 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.2596, allocations: 10.31 kB / 464.9 MB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.2603, allocations: 0.9069 MB / 465.8 MB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2604, allocations: 155.3 kB / 466 MB, free: 86.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.2605, allocations: 16.72 kB / 466 MB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2607, allocations: 23.8 kB / 466 MB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.2608, allocations: 62.02 kB / 466.1 MB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.2608, allocations: 34.39 kB / 466.1 MB, free: 86.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000666/0.2615, allocations: 0.7787 MB / 466.9 MB, free: 85.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2615, allocations: 0 / 466.9 MB, free: 85.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001467/0.263, allocations: 0.7039 MB / 467.6 MB, free: 85.5 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.0002315/0.2632, allocations: 152.8 kB / 467.7 MB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2643, allocations: 1.25 MB / 469 MB, free: 84.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2643, allocations: 3.125 kB / 469 MB, free: 84.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.2645, allocations: 204.8 kB / 469.2 MB, free: 84.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.2651, allocations: 213.3 kB / 469.4 MB, free: 84.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.269, allocations: 4.385 MB / 473.8 MB, free: 82.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.2695, allocations: 0.7649 MB / 474.5 MB, free: 82.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009712/0.2704, allocations: 0.8057 MB / 475.3 MB, free: 82.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.2706, allocations: 112.2 kB / 475.5 MB, free: 82.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2706, allocations: 4 kB / 475.5 MB, free: 82.04 MB / 410.7 MB Notification: Performance of Templates: time 0.02244/0.293, allocations: 11.51 MB / 487 MB, free: 80.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5474945071619004]