Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002511/0.002511, allocations: 95.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.002807/0.002807, allocations: 165.6 kB / 24.27 MB, free: 152 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.673/1.673, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3451/0.3451, allocations: 34.26 MB / 295.3 MB, free: 0.6562 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.CutTorque3,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.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.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.21e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01349/0.01352, allocations: 9.161 MB / 386.4 MB, free: 9.766 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007136/0.02066, allocations: 2.865 MB / 389.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.02251, allocations: 55.81 kB / 389.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005036/0.02755, allocations: 2.134 MB / 391.5 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.03094, allocations: 1.182 MB / 392.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.03187, allocations: 319.2 kB / 393 MB, free: 3.195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.03595, allocations: 2.359 MB / 395.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003706/0.03965, allocations: 1.801 MB / 397.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.04231, allocations: 1.29 MB / 398.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.04511, allocations: 1.177 MB / 399.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005183/0.04563, allocations: 192 kB / 399.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.04712, allocations: 0.6474 MB / 400.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.04847, allocations: 1.18 MB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.04966, allocations: 0.728 MB / 402.4 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.05607, allocations: 4.295 MB / 406.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.05608, allocations: 0 / 406.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05608, allocations: 0 / 406.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.0562, allocations: 0 / 406.6 MB, free: 5.457 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.006932/0.06313, allocations: 3.399 MB / 410 MB, free: 2.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.06317, allocations: 12.03 kB / 410.1 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006591/0.06976, allocations: 1.871 MB / 411.9 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.07342, allocations: 1.226 MB / 413.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.07357, allocations: 144 kB / 413.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/0.074, allocations: 188.3 kB / 413.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007869/0.08187, allocations: 3.582 MB / 417.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/0.08192, allocations: 11.88 kB / 417.1 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.08217, allocations: 87.91 kB / 417.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/0.08489, allocations: 1.34 MB / 418.5 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007042/0.09193, allocations: 2.041 MB / 420.5 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1921/0.284, allocations: 24.49 MB / 445 MB, free: 82.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.2873, allocations: 0.9056 MB / 445.9 MB, free: 82.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.2878, allocations: 247.5 kB / 446.2 MB, free: 82.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005833/0.2936, allocations: 2.714 MB / 448.9 MB, free: 82.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2936, allocations: 43.19 kB / 448.9 MB, free: 82.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/0.2936, allocations: 2.906 kB / 448.9 MB, free: 82.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004226/0.2979, allocations: 1.312 MB / 450.2 MB, free: 81.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.2979, allocations: 58.16 kB / 450.3 MB, free: 81.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.3007, allocations: 2.269 MB / 452.6 MB, free: 81.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.3007, allocations: 40.38 kB / 452.6 MB, free: 81.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.3018, allocations: 2.104 MB / 454.7 MB, free: 80.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.3021, allocations: 359 kB / 455.1 MB, free: 80.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009047/0.303, allocations: 0.7863 MB / 455.9 MB, free: 79.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3031, allocations: 0.547 MB / 456.4 MB, free: 79.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.3038, allocations: 316.1 kB / 456.7 MB, free: 79.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.3053, allocations: 3.18 MB / 459.9 MB, free: 75.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.3079, allocations: 3.829 MB / 463.7 MB, free: 71.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.35e-05/0.308, allocations: 18.16 kB / 463.7 MB, free: 71.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003716/0.3117, allocations: 2.539 MB / 466.3 MB, free: 70.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.3117, allocations: 35.41 kB / 466.3 MB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.455e-05/0.3118, allocations: 64.03 kB / 466.4 MB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.433e-05/0.3119, allocations: 86.84 kB / 466.5 MB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.3135, allocations: 0.6577 MB / 467.1 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.487e-05/0.3136, allocations: 127.1 kB / 467.2 MB, free: 70.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.3152, allocations: 414.6 kB / 467.6 MB, free: 70.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.3154, allocations: 188.8 kB / 467.8 MB, free: 70.07 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.0009701/0.3163, allocations: 480.6 kB / 468.3 MB, free: 69.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.3165, allocations: 174.4 kB / 468.5 MB, free: 69.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.3168, allocations: 160.6 kB / 468.6 MB, free: 69.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.3168, allocations: 13.47 kB / 468.6 MB, free: 69.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.3168, allocations: 0 / 468.6 MB, free: 69.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3168, allocations: 3.375 kB / 468.6 MB, free: 69.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.3223, allocations: 3.526 MB / 472.2 MB, free: 67.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3223, allocations: 10 kB / 472.2 MB, free: 67.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.3226, allocations: 100.4 kB / 472.3 MB, free: 67.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.3226, allocations: 13.28 kB / 472.3 MB, free: 67.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.3227, allocations: 20.5 kB / 472.3 MB, free: 67.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.3227, allocations: 12.45 kB / 472.3 MB, free: 67.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3227, allocations: 16.94 kB / 472.3 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008628/0.3236, allocations: 0.9468 MB / 473.3 MB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.3238, allocations: 151.2 kB / 473.4 MB, free: 66.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.324, allocations: 22.84 kB / 473.5 MB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.3244, allocations: 23.23 kB / 473.5 MB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3245, allocations: 60.31 kB / 473.5 MB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.3245, allocations: 32.72 kB / 473.6 MB, free: 66.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001142/0.3257, allocations: 0.9292 MB / 474.5 MB, free: 66.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3257, allocations: 0 / 474.5 MB, free: 66.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002528/0.3282, allocations: 0.7075 MB / 475.2 MB, free: 66.16 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.0003123/0.3285, allocations: 136.6 kB / 475.3 MB, free: 66.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.3308, allocations: 1.408 MB / 476.7 MB, free: 65.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3308, allocations: 1.438 kB / 476.7 MB, free: 65.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.3312, allocations: 249.5 kB / 477 MB, free: 65.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3322, allocations: 193.5 kB / 477.2 MB, free: 65.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007576/0.3398, allocations: 4.461 MB / 481.6 MB, free: 62.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.3416, allocations: 1.512 MB / 483.2 MB, free: 62.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001778/0.3434, allocations: 0.812 MB / 484 MB, free: 62.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3436, allocations: 112.1 kB / 484.1 MB, free: 62.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3436, allocations: 0 / 484.1 MB, free: 62.35 MB / 410.7 MB Notification: Performance of Templates: time 0.02484/0.3685, allocations: 11.5 MB / 495.6 MB, free: 61.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.7047235240461305]