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.0009804/0.0009804, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001104/0.001104, allocations: 169.9 kB / 24.91 MB, free: 9.188 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.9723/0.9723, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2894/0.2894, allocations: 32.81 MB / 294.6 MB, free: 1.176 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.603e-06/1.603e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.249e-05, allocations: 4.984 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003137/0.003159, allocations: 2.889 MB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.004463, allocations: 1.028 MB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.00459, allocations: 7.938 kB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004737, allocations: 51.44 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.004887, allocations: 115 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.005244, allocations: 159.4 kB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.005553, allocations: 410.5 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.005687, allocations: 60.11 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.005867, allocations: 219.5 kB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.006016, allocations: 111.7 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.006049, allocations: 32 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.00615, allocations: 47.98 kB / 328.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.006191, allocations: 67.73 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.006268, allocations: 119.7 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.006536, allocations: 278.9 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006539, allocations: 0 / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00654, allocations: 0 / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.006546, allocations: 0 / 328.8 MB, free: 4.094 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.0006033/0.007149, allocations: 0.5399 MB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.007181, allocations: 12.02 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.007394, allocations: 72.88 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.007605, allocations: 206.2 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.007622, allocations: 25.03 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.007657, allocations: 28.38 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.007867, allocations: 238.8 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.007882, allocations: 8.141 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.007899, allocations: 15.88 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.007906, allocations: 11.94 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.008036, allocations: 100.8 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.008921, allocations: 0.9941 MB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.009155, allocations: 234 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.009214, allocations: 64.28 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.009235, allocations: 15.97 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.009259, allocations: 46.48 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/0.009261, allocations: 4 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001117/0.01038, allocations: 0.9152 MB / 332.3 MB, free: 276 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.01044, allocations: 162.2 kB / 332.5 MB, free: 76 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.01057, allocations: 224.9 kB / 332.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.01058, allocations: 33.7 kB / 332.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.01065, allocations: 164.5 kB / 332.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.01072, allocations: 166.6 kB / 333 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.01078, allocations: 78.17 kB / 333.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.01087, allocations: 346.7 kB / 333.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.01091, allocations: 36.98 kB / 333.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.01102, allocations: 186.9 kB / 333.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.01122, allocations: 285.5 kB / 334 MB, free: 14.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01122, allocations: 0 / 334 MB, free: 14.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002474/0.01147, allocations: 282.8 kB / 334.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01149, allocations: 8 kB / 334.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.0115, allocations: 4 kB / 334.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.01151, allocations: 8 kB / 334.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.01176, allocations: 137 kB / 334.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01177, allocations: 7.984 kB / 334.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.01185, allocations: 16.38 kB / 334.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.01187, allocations: 20 kB / 334.4 MB, free: 13.95 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 8.48e-05/0.01195, allocations: 145.6 kB / 334.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.01203, allocations: 35.97 kB / 334.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.01216, allocations: 99.38 kB / 334.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01216, allocations: 4 kB / 334.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.01216, allocations: 0 / 334.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.01217, allocations: 7.984 kB / 334.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.01289, allocations: 0.7448 MB / 335.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.0129, allocations: 4 kB / 335.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.01315, allocations: 107.9 kB / 335.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01316, allocations: 7.938 kB / 335.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.01317, allocations: 19.92 kB / 335.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.01318, allocations: 4 kB / 335.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.01318, allocations: 12.19 kB / 335.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.01362, allocations: 0.679 MB / 336.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.01365, allocations: 23.81 kB / 336.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.01367, allocations: 19.94 kB / 336.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.01384, allocations: 8 kB / 336.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.01387, allocations: 35.88 kB / 336.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.01388, allocations: 12 kB / 336.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.01393, allocations: 74.72 kB / 336.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01393, allocations: 0 / 336.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.01424, allocations: 84 kB / 336.5 MB, free: 11.71 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.694e-05/0.01434, allocations: 88.36 kB / 336.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.01464, allocations: 205.8 kB / 336.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.01465, allocations: 0.75 kB / 336.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01479, allocations: 108.6 kB / 336.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.01559, allocations: 86.78 kB / 337 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.01705, allocations: 0.8061 MB / 337.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.01717, allocations: 97.12 kB / 337.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.01735, allocations: 47.25 kB / 338 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.01754, allocations: 115.3 kB / 338.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.01754, allocations: 3.938 kB / 338.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of Templates: time 0.00802/0.02556, allocations: 3.619 MB / 341.7 MB, free: 6.559 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 -s gbode -gbm=radauIIA3 -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.1025761109776795]