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.0009638/0.0009638, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00156/0.00156, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2657/0.2657, allocations: 32.8 MB / 294.6 MB, free: 1.207 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 1.452e-06/1.452e-06, allocations: 0 / 323.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.994e-05, allocations: 5.781 kB / 323.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007367/0.007387, allocations: 9.053 MB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.01136, allocations: 2.959 MB / 335.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.01179, allocations: 55.81 kB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.01381, allocations: 2.099 MB / 337.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.01522, allocations: 1.163 MB / 338.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.01561, allocations: 323.2 kB / 338.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.01722, allocations: 2.218 MB / 341.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.01845, allocations: 1.836 MB / 343 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008649/0.01932, allocations: 1.302 MB / 344.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.02021, allocations: 1.11 MB / 345.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.02038, allocations: 196 kB / 345.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.02105, allocations: 0.6668 MB / 346.2 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006219/0.02167, allocations: 1.184 MB / 347.4 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.02214, allocations: 0.7202 MB / 348.1 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.02392, allocations: 2.724 MB / 350.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02392, allocations: 0 / 350.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02393, allocations: 0 / 350.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.02394, allocations: 4 kB / 350.9 MB, free: 13.93 MB / 330.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.002205/0.02615, allocations: 2.67 MB / 353.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.02618, allocations: 12.03 kB / 353.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.02796, allocations: 0.746 MB / 354.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.02899, allocations: 1.053 MB / 355.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.02906, allocations: 156 kB / 355.5 MB, free: 9.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.02925, allocations: 184.3 kB / 355.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.03203, allocations: 2.841 MB / 358.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.03206, allocations: 11.88 kB / 358.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.03221, allocations: 87.91 kB / 358.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009987/0.03321, allocations: 1.196 MB / 359.8 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.03539, allocations: 1.52 MB / 361.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/0.04615, allocations: 15.3 MB / 376.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.0478, allocations: 0.8755 MB / 377.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.04801, allocations: 160.8 kB / 377.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002577/0.05058, allocations: 2.232 MB / 379.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.05061, allocations: 43 kB / 379.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.154e-06/0.05061, allocations: 0 / 379.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002256/0.05287, allocations: 1.105 MB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.0529, allocations: 55.91 kB / 381.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.05415, allocations: 1.424 MB / 382.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.05418, allocations: 37.69 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.05486, allocations: 1.838 MB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.05501, allocations: 321.5 kB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004035/0.05541, allocations: 0.5762 MB / 385.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.0555, allocations: 353.8 kB / 385.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.05582, allocations: 306.2 kB / 385.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.05684, allocations: 2.091 MB / 388 MB, free: 6.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.05877, allocations: 2.752 MB / 390.8 MB, free: 3.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.05879, allocations: 16 kB / 390.8 MB, free: 3.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001767/0.06056, allocations: 1.963 MB / 392.8 MB, free: 1.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.06059, allocations: 32 kB / 392.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/0.06064, allocations: 68 kB / 392.9 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.349e-05/0.06069, allocations: 88 kB / 392.9 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.06173, allocations: 0.6706 MB / 393.6 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.743e-05/0.06178, allocations: 127.5 kB / 393.7 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.06263, allocations: 401.1 kB / 394.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.06277, allocations: 171.9 kB / 394.3 MB, free: 15.54 MB / 378.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.0005204/0.06329, allocations: 369.5 kB / 394.7 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.06367, allocations: 91.91 kB / 394.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.06382, allocations: 156 kB / 394.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.06383, allocations: 11.98 kB / 394.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.06383, allocations: 0 / 394.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.06384, allocations: 0 / 394.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.06592, allocations: 2.268 MB / 397.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.06592, allocations: 8 kB / 397.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.06612, allocations: 95.83 kB / 397.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.06613, allocations: 8 kB / 397.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.06615, allocations: 20 kB / 397.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.06616, allocations: 8 kB / 397.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.06617, allocations: 15.88 kB / 397.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.06662, allocations: 0.645 MB / 398 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.06673, allocations: 162.7 kB / 398.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.06681, allocations: 12 kB / 398.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.067, allocations: 20 kB / 398.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.06707, allocations: 63.73 kB / 398.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.0671, allocations: 24 kB / 398.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004216/0.06752, allocations: 0.5487 MB / 398.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.06752, allocations: 0 / 398.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001372/0.06889, allocations: 0.7006 MB / 399.5 MB, free: 10.1 MB / 378.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.0002074/0.0691, allocations: 132.1 kB / 399.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009473/0.07004, allocations: 1.103 MB / 400.7 MB, free: 8.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.3e-05/0.07012, allocations: 49.88 kB / 400.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.07028, allocations: 172.5 kB / 400.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.07084, allocations: 205.7 kB / 401.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.07536, allocations: 4.492 MB / 405.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.07595, allocations: 0.7541 MB / 406.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005027/0.07645, allocations: 242.6 kB / 406.6 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.07676, allocations: 275.3 kB / 406.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.07676, allocations: 0 / 406.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of Templates: time 0.01957/0.09633, allocations: 12.42 MB / 419.3 MB, free: 6.262 MB / 394.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 -s gbode -gbm=radauIIA3 -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.1464800708927214]