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.001977/0.001977, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.00274/0.00274, allocations: 165.3 kB / 24.27 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3385/0.3385, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.3.|cutTorque.torque.2.|cutTorque.torque.1.",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.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.14e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01223/0.01227, allocations: 8.42 MB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.01881, allocations: 2.791 MB / 388.5 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009201/0.01973, allocations: 55.81 kB / 388.5 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.02402, allocations: 2.072 MB / 390.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.02726, allocations: 1.174 MB / 391.8 MB, free: 4.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.02809, allocations: 319.2 kB / 392.1 MB, free: 4.082 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003754/0.03184, allocations: 2.372 MB / 394.5 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.03427, allocations: 1.789 MB / 396.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.0361, allocations: 1.278 MB / 397.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.038, allocations: 1.142 MB / 398.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.0383, allocations: 196 kB / 398.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.03962, allocations: 0.6396 MB / 399.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.04087, allocations: 1.176 MB / 400.7 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009404/0.04181, allocations: 0.7124 MB / 401.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005627/0.04744, allocations: 4.291 MB / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.04744, allocations: 0 / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.04744, allocations: 4 kB / 405.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.04752, allocations: 4 kB / 405.7 MB, free: 6.406 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.00548/0.053, allocations: 2.823 MB / 408.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.05304, allocations: 8.031 kB / 408.5 MB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/0.05879, allocations: 1.934 MB / 410.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.06156, allocations: 1.29 MB / 411.8 MB, free: 280 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.06171, allocations: 144 kB / 411.9 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.06209, allocations: 192.3 kB / 412.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.07296, allocations: 6.251 MB / 418.3 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.07301, allocations: 11.88 kB / 418.3 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.07328, allocations: 87.91 kB / 418.4 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002374/0.07565, allocations: 1.34 MB / 419.8 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.08698, allocations: 5.336 MB / 425.1 MB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1826/0.2695, allocations: 18.41 MB / 443.5 MB, free: 94.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/0.2732, allocations: 1.572 MB / 445.1 MB, free: 94.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/0.274, allocations: 0.6395 MB / 445.7 MB, free: 94.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005442/0.2794, allocations: 3.114 MB / 448.8 MB, free: 93.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2794, allocations: 37.91 kB / 448.9 MB, free: 93.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.487e-06/0.2794, allocations: 0 / 448.9 MB, free: 93.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004955/0.2844, allocations: 2.127 MB / 451 MB, free: 93.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2844, allocations: 63.45 kB / 451.1 MB, free: 93.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.2865, allocations: 1.933 MB / 453 MB, free: 93.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.2866, allocations: 36.83 kB / 453 MB, free: 92.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007787/0.2873, allocations: 1.904 MB / 454.9 MB, free: 91.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.2875, allocations: 329.6 kB / 455.3 MB, free: 91.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000602/0.2881, allocations: 0.6107 MB / 455.9 MB, free: 91.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.2882, allocations: 351.7 kB / 456.2 MB, free: 90.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.2892, allocations: 0.8881 MB / 457.1 MB, free: 90.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.2909, allocations: 2.75 MB / 459.9 MB, free: 87.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/0.2941, allocations: 3.966 MB / 463.8 MB, free: 84.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.081e-05/0.2942, allocations: 18.88 kB / 463.8 MB, free: 84.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00573/0.2999, allocations: 3.682 MB / 467.5 MB, free: 83.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.3, allocations: 34.56 kB / 467.6 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.268e-05/0.3, allocations: 65.81 kB / 467.6 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.253e-05/0.3001, allocations: 85.5 kB / 467.7 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.3018, allocations: 0.6528 MB / 468.4 MB, free: 83.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-05/0.3019, allocations: 136.1 kB / 468.5 MB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.304, allocations: 418.3 kB / 468.9 MB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.3043, allocations: 190.6 kB / 469.1 MB, free: 82.7 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.001656/0.3059, allocations: 1.342 MB / 470.4 MB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.3062, allocations: 177.3 kB / 470.6 MB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.3064, allocations: 184.5 kB / 470.8 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.3064, allocations: 9.438 kB / 470.8 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3065, allocations: 0 / 470.8 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3065, allocations: 10.55 kB / 470.8 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.3109, allocations: 3.09 MB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.3109, allocations: 6.5 kB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.3113, allocations: 101.8 kB / 474 MB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.3113, allocations: 13.03 kB / 474 MB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.3114, allocations: 18.45 kB / 474 MB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/0.3114, allocations: 13.25 kB / 474 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.3114, allocations: 15.56 kB / 474.1 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3128, allocations: 1.258 MB / 475.3 MB, free: 79.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.313, allocations: 153.6 kB / 475.5 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.3132, allocations: 21.39 kB / 475.5 MB, free: 79.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.3136, allocations: 20.47 kB / 475.5 MB, free: 79.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.3137, allocations: 65.64 kB / 475.6 MB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.3138, allocations: 34.02 kB / 475.6 MB, free: 79.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.3153, allocations: 1.113 MB / 476.7 MB, free: 79.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3153, allocations: 4 kB / 476.7 MB, free: 79.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002631/0.3179, allocations: 0.7069 MB / 477.4 MB, free: 79.07 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.0003174/0.3182, allocations: 143.2 kB / 477.6 MB, free: 78.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.3211, allocations: 1.96 MB / 479.5 MB, free: 78.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3211, allocations: 2.25 kB / 479.5 MB, free: 78.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.3217, allocations: 430.7 kB / 479.9 MB, free: 78.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.3228, allocations: 188.6 kB / 480.1 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.3301, allocations: 5.165 MB / 485.3 MB, free: 75.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.3319, allocations: 1.707 MB / 487 MB, free: 75.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00173/0.3336, allocations: 0.9444 MB / 487.9 MB, free: 75.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.3339, allocations: 116.5 kB / 488.1 MB, free: 75.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3339, allocations: 0 / 488.1 MB, free: 75.04 MB / 410.7 MB Notification: Performance of Templates: time 0.02454/0.3584, allocations: 11.64 MB / 499.7 MB, free: 71.6 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.532629493973218]