Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.001181/0.001181, allocations: 80.8 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.001005/0.001005, allocations: 170.8 kB / 24.91 MB, free: 9.148 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.9696/0.9696, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2795/0.2795, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.567e-05, allocations: 4.875 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.009996/0.01002, allocations: 2.861 MB / 326 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.01216, allocations: 1.012 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.01241, allocations: 7.938 kB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.01261, allocations: 51.39 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.01288, allocations: 123 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.0169, allocations: 167.3 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006968/0.0176, allocations: 398.6 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.0178, allocations: 64.11 kB / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.01813, allocations: 223.5 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.01835, allocations: 111.7 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.0184, allocations: 27.94 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.01854, allocations: 51.97 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.0186, allocations: 63.75 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.01873, allocations: 115.7 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.01919, allocations: 274.9 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.01919, allocations: 0 / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01919, allocations: 0 / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.0192, allocations: 4 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008892/0.02009, allocations: 0.5399 MB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.02013, allocations: 8.031 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.02045, allocations: 84.86 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.02076, allocations: 194.2 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.02079, allocations: 25.03 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.02085, allocations: 28.38 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.02119, allocations: 238.8 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.02122, allocations: 8.141 kB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.02124, allocations: 19.94 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.02125, allocations: 4 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.02146, allocations: 111.1 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.02288, allocations: 0.9979 MB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.02314, allocations: 230.2 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.0232, allocations: 64.28 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.02322, allocations: 11.94 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.02325, allocations: 46.55 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/0.02325, allocations: 0 / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001306/0.02456, allocations: 0.918 MB / 332.2 MB, free: 384 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.02461, allocations: 166.2 kB / 332.4 MB, free: 180 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.02475, allocations: 220.9 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.02476, allocations: 33.7 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.02483, allocations: 168.5 kB / 332.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.0249, allocations: 158.6 kB / 332.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.02497, allocations: 82.17 kB / 333 MB, free: 15.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.02505, allocations: 350.7 kB / 333.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.02509, allocations: 36.98 kB / 333.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.02521, allocations: 186.9 kB / 333.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.02542, allocations: 288.6 kB / 333.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02542, allocations: 4 kB / 333.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002562/0.02568, allocations: 269.2 kB / 334.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.0257, allocations: 8 kB / 334.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.02571, allocations: 4 kB / 334.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.02572, allocations: 8 kB / 334.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.02594, allocations: 115.8 kB / 334.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.02594, allocations: 12.44 kB / 334.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.02604, allocations: 23.98 kB / 334.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.02605, allocations: 16 kB / 334.3 MB, free: 14.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 initialization (62): * Single equations (assignments): 62 * Array equations: 0 * 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 9.028e-05/0.02614, allocations: 141.6 kB / 334.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.02621, allocations: 43.84 kB / 334.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.02634, allocations: 91.44 kB / 334.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.02635, allocations: 4 kB / 334.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.02635, allocations: 4 kB / 334.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.02635, allocations: 0 / 334.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.02727, allocations: 0.7449 MB / 335.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.02728, allocations: 8 kB / 335.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.02749, allocations: 92.12 kB / 335.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.0275, allocations: 8 kB / 335.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.02751, allocations: 12 kB / 335.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.02752, allocations: 7.938 kB / 335.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.02752, allocations: 8.25 kB / 335.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.02792, allocations: 0.6906 MB / 336.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.02795, allocations: 35.78 kB / 336.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.02798, allocations: 12 kB / 336.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.02813, allocations: 8 kB / 336.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.02816, allocations: 35.83 kB / 336.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.02817, allocations: 15.98 kB / 336.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.02822, allocations: 62.8 kB / 336.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02822, allocations: 0 / 336.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.02856, allocations: 91.98 kB / 336.4 MB, free: 11.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * 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 9.837e-05/0.02866, allocations: 84.36 kB / 336.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.02886, allocations: 209.3 kB / 336.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.02887, allocations: 0.75 kB / 336.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.02894, allocations: 100.6 kB / 336.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.02942, allocations: 76.73 kB / 336.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.03044, allocations: 0.8053 MB / 337.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.705e-05/0.03053, allocations: 109.1 kB / 337.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.03064, allocations: 39.27 kB / 337.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.03077, allocations: 111.3 kB / 337.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.03078, allocations: 0 / 337.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of Templates: time 0.005417/0.03619, allocations: 3.411 MB / 341.3 MB, free: 6.902 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.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.0818734117783606]