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.000966/0.000966, allocations: 81.88 kB / 21.42 MB, free: 3.074 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.001139/0.001139, allocations: 168.7 kB / 24.82 MB, free: 9.27 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.084/1.084, 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.3/0.3, 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 2.886e-06/2.886e-06, allocations: 0 / 376.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.475e-05, allocations: 10.25 kB / 376.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0033/0.003325, allocations: 2.876 MB / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.005207, allocations: 0.9815 MB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.005404, allocations: 11.94 kB / 380.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.005594, allocations: 55.38 kB / 380.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.005802, allocations: 111 kB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.006381, allocations: 167.4 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.006806, allocations: 398 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.006977, allocations: 69.38 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.007266, allocations: 203.6 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.007437, allocations: 115.6 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.007482, allocations: 31.98 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.0076, allocations: 47.98 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.00765, allocations: 67.73 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.007736, allocations: 111.8 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.008057, allocations: 275 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00806, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008061, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.008067, allocations: 7.938 kB / 381.9 MB, free: 14.93 MB / 362.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.0007146/0.008782, allocations: 0.6595 MB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.008833, allocations: 12.03 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.009084, allocations: 88.69 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.0093, allocations: 221 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.009318, allocations: 25.03 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.009525, allocations: 28.38 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.009788, allocations: 260.8 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.009803, allocations: 4.141 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.009822, allocations: 23.92 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.009831, allocations: 8 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.00998, allocations: 106.9 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.01107, allocations: 1.32 MB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.01137, allocations: 283.6 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.01145, allocations: 86.41 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.01147, allocations: 8.328 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.0115, allocations: 49.31 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.0115, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001195/0.0127, allocations: 0.9625 MB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.01277, allocations: 162.2 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.01331, allocations: 268.2 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.01333, allocations: 33.7 kB / 386.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.01345, allocations: 227.2 kB / 386.7 MB, free: 9.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.01354, allocations: 162.7 kB / 386.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.01362, allocations: 91.77 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.01379, allocations: 0.5117 MB / 387.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.01384, allocations: 40.95 kB / 387.5 MB, free: 8.855 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.01401, allocations: 258.2 kB / 387.8 MB, free: 8.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.01428, allocations: 351.7 kB / 388.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.01428, allocations: 4 kB / 388.1 MB, free: 8.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003234/0.0146, allocations: 336.9 kB / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01462, allocations: 8 kB / 388.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01463, allocations: 4 kB / 388.5 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01464, allocations: 8 kB / 388.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.01486, allocations: 119.8 kB / 388.6 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.01487, allocations: 8 kB / 388.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.01496, allocations: 15.94 kB / 388.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.01497, allocations: 20 kB / 388.6 MB, free: 7.562 MB / 362.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 0.0001116/0.01508, allocations: 184.7 kB / 388.8 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.01516, allocations: 59.67 kB / 388.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.01531, allocations: 99.45 kB / 389 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.01531, allocations: 4 kB / 389 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01531, allocations: 3.938 kB / 389 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.01532, allocations: 7.984 kB / 389 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009473/0.01627, allocations: 1.024 MB / 390 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.01628, allocations: 4 kB / 390 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.01659, allocations: 99.83 kB / 390.1 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.0166, allocations: 4 kB / 390.1 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.01662, allocations: 12 kB / 390.1 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.01663, allocations: 4 kB / 390.1 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.01664, allocations: 7.984 kB / 390.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.01722, allocations: 0.9743 MB / 391.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.01725, allocations: 36.05 kB / 391.1 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.01728, allocations: 15.98 kB / 391.2 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.01743, allocations: 8.125 kB / 391.2 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01747, allocations: 39.81 kB / 391.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.01748, allocations: 16 kB / 391.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.764e-05/0.01756, allocations: 185.1 kB / 391.4 MB, free: 4.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01756, allocations: 0 / 391.4 MB, free: 4.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.01789, allocations: 80 kB / 391.5 MB, free: 4.57 MB / 362.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.811e-05/0.01799, allocations: 115.1 kB / 391.6 MB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.01822, allocations: 204.8 kB / 391.8 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01822, allocations: 0 / 391.8 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.01832, allocations: 112.4 kB / 391.9 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.01884, allocations: 84.02 kB / 392 MB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.02007, allocations: 1.033 MB / 393 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.565e-05/0.02015, allocations: 105.1 kB / 393.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.771e-05/0.02025, allocations: 43.25 kB / 393.2 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/0.02081, allocations: 130.2 kB / 393.3 MB, free: 2.648 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02081, allocations: 4 kB / 393.3 MB, free: 2.645 MB / 362.7 MB Notification: Performance of Templates: time 0.005677/0.02649, allocations: 3.403 MB / 396.7 MB, free: 15.31 MB / 378.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.152201327960938]