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.001555/0.001555, allocations: 80.41 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.001588/0.001588, allocations: 167.7 kB / 25.61 MB, free: 8.582 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.9761/0.9761, allocations: 177.1 MB / 206 MB, free: 4.469 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.1357/0.1357, allocations: 32.79 MB / 295.4 MB, free: 15.38 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.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.442e-06/1.442e-06, allocations: 0 / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.536e-05, allocations: 2.312 kB / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002435/0.00245, allocations: 2.848 MB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003604, allocations: 1.001 MB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.003742, allocations: 7.938 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.003877, allocations: 55.39 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.004022, allocations: 115 kB / 381.3 MB, free: 21.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.004374, allocations: 159.5 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.004637, allocations: 402 kB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.004778, allocations: 62.39 kB / 381.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.004926, allocations: 219.5 kB / 382.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.005072, allocations: 111.7 kB / 382.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.005106, allocations: 24 kB / 382.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.005198, allocations: 47.98 kB / 382.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.005241, allocations: 67.67 kB / 382.3 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.005313, allocations: 119.7 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.005554, allocations: 271 kB / 382.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005557, allocations: 0 / 382.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005557, allocations: 4 kB / 382.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.005562, allocations: 0 / 382.7 MB, free: 20.14 MB / 314.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.0005298/0.006092, allocations: 0.6595 MB / 383.4 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.006121, allocations: 19.92 kB / 383.4 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.006306, allocations: 92.67 kB / 383.5 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.006482, allocations: 209.1 kB / 383.7 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.0065, allocations: 21.03 kB / 383.7 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.006536, allocations: 40.31 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.006725, allocations: 248.9 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.00674, allocations: 20.11 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.006756, allocations: 15.94 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.006764, allocations: 8 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.006881, allocations: 109.1 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.007642, allocations: 1.324 MB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.00786, allocations: 287.7 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.007925, allocations: 82.41 kB / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.007943, allocations: 8 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.00796, allocations: 45.33 kB / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.353e-06/0.007961, allocations: 0 / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009906/0.008952, allocations: 0.9567 MB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.008979, allocations: 166.2 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.009071, allocations: 264.1 kB / 387.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.009084, allocations: 41.7 kB / 387.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.009146, allocations: 231.2 kB / 387.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.009194, allocations: 158.6 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.009254, allocations: 95.75 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.009311, allocations: 0.5195 MB / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.009357, allocations: 40.95 kB / 388.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.609e-05/0.009453, allocations: 250.3 kB / 388.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.00964, allocations: 345.5 kB / 388.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009642, allocations: 4 kB / 388.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002695/0.009912, allocations: 336.8 kB / 389.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.009924, allocations: 8 kB / 389.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.009932, allocations: 4 kB / 389.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.009943, allocations: 8 kB / 389.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.01013, allocations: 115.8 kB / 389.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01014, allocations: 11.94 kB / 389.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.01023, allocations: 16 kB / 389.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.01024, allocations: 20.36 kB / 389.4 MB, free: 12.77 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 7.392e-05/0.01032, allocations: 188.4 kB / 389.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.0104, allocations: 51.75 kB / 389.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.01051, allocations: 107.4 kB / 389.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.01051, allocations: 4 kB / 389.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01051, allocations: 0 / 389.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.01052, allocations: 4.234 kB / 389.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.01116, allocations: 1.035 MB / 390.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01116, allocations: 4 kB / 390.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.01137, allocations: 95.89 kB / 390.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01138, allocations: 4 kB / 390.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.01139, allocations: 15.98 kB / 390.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01139, allocations: 4 kB / 390.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.0114, allocations: 7.938 kB / 390.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.01171, allocations: 0.9744 MB / 391.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.01173, allocations: 27.8 kB / 391.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.01175, allocations: 16 kB / 391.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.01192, allocations: 8 kB / 392 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.01195, allocations: 35.83 kB / 392 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01196, allocations: 15.94 kB / 392 MB, free: 10.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.012, allocations: 185.1 kB / 392.2 MB, free: 9.852 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.012, allocations: 0 / 392.2 MB, free: 9.852 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.01232, allocations: 84 kB / 392.3 MB, free: 9.77 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 6.596e-05/0.01239, allocations: 115.1 kB / 392.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01258, allocations: 204.6 kB / 392.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01258, allocations: 4 kB / 392.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.01265, allocations: 109.1 kB / 392.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.01315, allocations: 87.97 kB / 392.8 MB, free: 9.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.01406, allocations: 1.035 MB / 393.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.618e-05/0.01411, allocations: 101.1 kB / 393.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.321e-05/0.01421, allocations: 43.25 kB / 394 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.01432, allocations: 142.2 kB / 394.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01432, allocations: 0 / 394.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of Templates: time 0.004656/0.01898, allocations: 3.468 MB / 397.6 MB, free: 4.438 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.1109153353609145]