Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001519/0.001519, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001737/0.001737, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8745/0.8745, allocations: 158.6 MB / 185.9 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1372/0.1372, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.88e-05, allocations: 6.25 kB / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008346/0.008364, allocations: 10.39 MB / 358.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.0136, allocations: 2.979 MB / 361.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.0152, allocations: 59.81 kB / 361.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.01771, allocations: 2.13 MB / 363.7 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.02005, allocations: 1.283 MB / 364.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.0206, allocations: 323.2 kB / 365.3 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.02325, allocations: 2.553 MB / 367.8 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/0.02541, allocations: 1.914 MB / 369.7 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.02742, allocations: 1.434 MB / 371.2 MB, free: 2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.02906, allocations: 1.317 MB / 372.5 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006772/0.02974, allocations: 220 kB / 372.7 MB, free: 476 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.03074, allocations: 0.663 MB / 373.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008724/0.03162, allocations: 1.328 MB / 374.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009835/0.0326, allocations: 0.8098 MB / 375.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.03604, allocations: 3.043 MB / 378.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.03605, allocations: 4 kB / 378.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03605, allocations: 0 / 378.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001521/0.0362, allocations: 4 kB / 378.6 MB, free: 10.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.004439/0.04064, allocations: 3.405 MB / 382 MB, free: 7.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.0407, allocations: 12.02 kB / 382 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.04328, allocations: 1.076 MB / 383 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.04556, allocations: 1.224 MB / 384.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.655e-05/0.04565, allocations: 160.4 kB / 384.4 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.04587, allocations: 204.3 kB / 384.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/0.05001, allocations: 3.345 MB / 388 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.05004, allocations: 11.88 kB / 388 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.0502, allocations: 95.89 kB / 388.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/0.05135, allocations: 1.376 MB / 389.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.0548, allocations: 1.621 MB / 391.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/0.07769, allocations: 22.45 MB / 413.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.07975, allocations: 0.9305 MB / 414.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.08006, allocations: 238.1 kB / 414.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003558/0.08361, allocations: 2.675 MB / 417.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.08364, allocations: 45.92 kB / 417.4 MB, free: 2.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 2.925e-06/0.08365, allocations: 0 / 417.4 MB, free: 2.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.002636/0.08628, allocations: 1.355 MB / 418.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.08632, allocations: 60.06 kB / 418.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.08818, allocations: 1.889 MB / 420.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.08822, allocations: 37.7 kB / 420.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.08935, allocations: 2.21 MB / 423 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.08967, allocations: 405 kB / 423.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006203/0.09029, allocations: 0.7409 MB / 424.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.09047, allocations: 0.5276 MB / 424.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.09078, allocations: 262.3 kB / 424.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.09296, allocations: 3.236 MB / 428.1 MB, free: 6.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/0.09636, allocations: 3.906 MB / 432 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/0.0964, allocations: 24 kB / 432 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003469/0.09987, allocations: 2.563 MB / 434.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.09992, allocations: 36 kB / 434.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/0.09998, allocations: 72.86 kB / 434.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.46e-05/0.1001, allocations: 96 kB / 434.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.1013, allocations: 0.7096 MB / 435.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.73e-05/0.1014, allocations: 143.4 kB / 435.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.1029, allocations: 436.6 kB / 436.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.1032, allocations: 176 kB / 436.2 MB, free: 12.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.001173/0.1043, allocations: 437.3 kB / 436.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.1045, allocations: 202.8 kB / 436.9 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.1052, allocations: 0.5562 MB / 437.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.1052, allocations: 12 kB / 437.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1052, allocations: 0 / 437.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1052, allocations: 3.984 kB / 437.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004559/0.1098, allocations: 3.317 MB / 440.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.1098, allocations: 12.88 kB / 440.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.1101, allocations: 135.8 kB / 440.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.1101, allocations: 19.94 kB / 440.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.1101, allocations: 32 kB / 441 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.1101, allocations: 19.92 kB / 441 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.1101, allocations: 15.94 kB / 441 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.111, allocations: 1.126 MB / 442.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.1113, allocations: 182.5 kB / 442.3 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.1114, allocations: 23.98 kB / 442.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.1116, allocations: 20 kB / 442.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.1117, allocations: 83.66 kB / 442.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.1118, allocations: 35.98 kB / 442.5 MB, free: 6.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005877/0.1123, allocations: 0.7646 MB / 443.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1123, allocations: 4 kB / 443.2 MB, free: 5.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002141/0.1145, allocations: 0.8018 MB / 444 MB, free: 4.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0002748/0.1148, allocations: 150.9 kB / 444.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.1169, allocations: 1.329 MB / 445.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.1169, allocations: 0 / 445.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.1172, allocations: 251.7 kB / 445.7 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.118, allocations: 204.5 kB / 445.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1569/0.2748, allocations: 5.022 MB / 451 MB, free: 99.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/0.2758, allocations: 0.8438 MB / 451.8 MB, free: 99.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008554/0.2766, allocations: 277.6 kB / 452.1 MB, free: 99.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.277, allocations: 326.8 kB / 452.4 MB, free: 99.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.893e-06/0.277, allocations: 0 / 452.4 MB, free: 99.47 MB / 378.7 MB Notification: Performance of Templates: time 0.02633/0.3034, allocations: 13.79 MB / 466.2 MB, free: 92.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4628778360784054]