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.00111/0.00111, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001209/0.001209, allocations: 165.7 kB / 25.61 MB, free: 8.59 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.9381/0.9381, allocations: 177.1 MB / 206.1 MB, free: 4.504 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.1378/0.1378, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.252e-06/1.252e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.231e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00611/0.006132, allocations: 9.001 MB / 386.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004991/0.01112, allocations: 2.832 MB / 389.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.01233, allocations: 55.81 kB / 389.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.01436, allocations: 2.114 MB / 391.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.01629, allocations: 1.174 MB / 392.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.01682, allocations: 323.2 kB / 392.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.01879, allocations: 2.368 MB / 395.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.02012, allocations: 1.793 MB / 396.9 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.02123, allocations: 1.298 MB / 398.2 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.02235, allocations: 1.181 MB / 399.4 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002687/0.02262, allocations: 196 kB / 399.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.02336, allocations: 0.6357 MB / 400.2 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005063/0.02387, allocations: 1.188 MB / 401.4 MB, free: 1.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.0244, allocations: 0.7241 MB / 402.1 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.02664, allocations: 2.728 MB / 404.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.02665, allocations: 0 / 404.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.02665, allocations: 0 / 404.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.067e-05/0.0267, allocations: 0 / 404.9 MB, free: 13.86 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.003297/0.03, allocations: 3.106 MB / 408 MB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.03004, allocations: 15.98 kB / 408 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.03226, allocations: 0.9901 MB / 409 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.03366, allocations: 1.134 MB / 410.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.03374, allocations: 144 kB / 410.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.03394, allocations: 184.3 kB / 410.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.03741, allocations: 3.035 MB / 413.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.03745, allocations: 15.86 kB / 413.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.0376, allocations: 87.91 kB / 413.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001062/0.03866, allocations: 1.2 MB / 414.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.04163, allocations: 1.444 MB / 416.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01772/0.05935, allocations: 20.46 MB / 436.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.06135, allocations: 0.8527 MB / 437.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.06159, allocations: 185.9 kB / 437.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003684/0.06528, allocations: 2.474 MB / 440.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.06531, allocations: 41.89 kB / 440.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 4.318e-06/0.06532, allocations: 0 / 440.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002666/0.06798, allocations: 1.241 MB / 441.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.06802, allocations: 59.91 kB / 441.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.07009, allocations: 1.79 MB / 443.3 MB, free: 6.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.07013, allocations: 33.7 kB / 443.3 MB, free: 6.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.0712, allocations: 2.027 MB / 445.4 MB, free: 4.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.07141, allocations: 337.5 kB / 445.7 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000555/0.07196, allocations: 0.6848 MB / 446.4 MB, free: 3.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.07212, allocations: 0.5354 MB / 446.9 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.07238, allocations: 229.7 kB / 447.1 MB, free: 2.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.07423, allocations: 3.001 MB / 450.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.0767, allocations: 3.617 MB / 453.8 MB, free: 9.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/0.07673, allocations: 16 kB / 453.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003586/0.08032, allocations: 2.34 MB / 456.1 MB, free: 6.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.08037, allocations: 36 kB / 456.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.389e-05/0.08043, allocations: 67.98 kB / 456.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-05/0.0805, allocations: 88 kB / 456.3 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.08156, allocations: 0.6316 MB / 456.9 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.795e-05/0.08163, allocations: 135.4 kB / 457.1 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.08275, allocations: 409.4 kB / 457.5 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.08289, allocations: 156 kB / 457.6 MB, free: 5.207 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.0008566/0.08375, allocations: 417.5 kB / 458 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.0839, allocations: 174.9 kB / 458.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.08406, allocations: 156 kB / 458.3 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.08407, allocations: 12 kB / 458.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.08408, allocations: 0 / 458.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.08408, allocations: 7.984 kB / 458.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.08749, allocations: 2.8 MB / 461.2 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.0875, allocations: 4 kB / 461.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.0877, allocations: 95.83 kB / 461.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.08771, allocations: 12 kB / 461.3 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.08773, allocations: 16 kB / 461.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.08774, allocations: 19.92 kB / 461.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.08775, allocations: 20.38 kB / 461.3 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.08838, allocations: 0.8701 MB / 462.2 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.08853, allocations: 146.8 kB / 462.3 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/0.08861, allocations: 16 kB / 462.4 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.08882, allocations: 16 kB / 462.4 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.08888, allocations: 63.67 kB / 462.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.08892, allocations: 31.98 kB / 462.5 MB, free: 28 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005667/0.08948, allocations: 0.735 MB / 463.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.08948, allocations: 0 / 463.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001827/0.09131, allocations: 0.7006 MB / 463.9 MB, free: 14.59 MB / 394.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.0002563/0.09157, allocations: 149.6 kB / 464 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.093, allocations: 1.187 MB / 465.2 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.093, allocations: 0.875 kB / 465.2 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.09319, allocations: 193.9 kB / 465.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.09384, allocations: 188.2 kB / 465.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.09978, allocations: 4.396 MB / 470 MB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.1004, allocations: 0.7619 MB / 470.8 MB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006791/0.1011, allocations: 250.6 kB / 471 MB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.1014, allocations: 298.2 kB / 471.3 MB, free: 6.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1014, allocations: 0 / 471.3 MB, free: 6.988 MB / 394.7 MB Notification: Performance of Templates: time 0.02427/0.1257, allocations: 12.66 MB / 484 MB, free: 10.53 MB / 410.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 -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.6286902870051563]