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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001785/0.002866, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001915/0.003026, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9263/0.9263, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1661/1.092, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.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.1349/0.1349, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02163/0.1565, allocations: 12.54 MB / 284.5 MB, free: 9.723 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.152e-06/1.152e-06, allocations: 0 / 285.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.93e-05, allocations: 5.406 kB / 285.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002677/0.002697, allocations: 2.818 MB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004051, allocations: 0.9772 MB / 289.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.004213, allocations: 7.938 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.004321, allocations: 55.39 kB / 289.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.004495, allocations: 115 kB / 289.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.004846, allocations: 143.5 kB / 289.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.005198, allocations: 398 kB / 290.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.005339, allocations: 55.38 kB / 290.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.005577, allocations: 247.2 kB / 290.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.005739, allocations: 111.7 kB / 290.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.005776, allocations: 24 kB / 290.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.005889, allocations: 47.98 kB / 290.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.005927, allocations: 43.81 kB / 290.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.006011, allocations: 99.75 kB / 290.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.006281, allocations: 239.1 kB / 291.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.006293, allocations: 3.984 kB / 291.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006294, allocations: 0 / 291.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.006305, allocations: 0 / 291.2 MB, free: 3.078 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007081/0.007014, allocations: 0.601 MB / 291.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.007043, allocations: 8.031 kB / 291.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.007274, allocations: 153.9 kB / 291.9 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.007507, allocations: 197 kB / 292.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.007526, allocations: 21.03 kB / 292.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.007567, allocations: 36.33 kB / 292.2 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.00779, allocations: 243.1 kB / 292.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.007805, allocations: 4.188 kB / 292.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.007825, allocations: 11.94 kB / 292.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007832, allocations: 8 kB / 292.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.007966, allocations: 109.8 kB / 292.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.008892, allocations: 0.9901 MB / 293.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.009133, allocations: 225.2 kB / 293.8 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.00919, allocations: 64.28 kB / 293.8 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.009213, allocations: 19.86 kB / 293.8 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.009236, allocations: 42.56 kB / 293.9 MB, free: 152 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.009237, allocations: 0 / 293.9 MB, free: 152 kB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.00118/0.01042, allocations: 0.9233 MB / 294.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.01047, allocations: 162.2 kB / 295 MB, free: 14.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.01058, allocations: 212.9 kB / 295.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.0106, allocations: 37.7 kB / 295.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.01066, allocations: 172.4 kB / 295.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.01073, allocations: 154.6 kB / 295.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.0108, allocations: 82.16 kB / 295.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.01089, allocations: 346.7 kB / 295.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.01093, allocations: 36.98 kB / 296 MB, free: 13.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.01104, allocations: 198.8 kB / 296.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.01125, allocations: 286 kB / 296.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01126, allocations: 3.938 kB / 296.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002464/0.0115, allocations: 270.1 kB / 296.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01152, allocations: 8 kB / 296.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.01153, allocations: 4.047 kB / 296.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.01155, allocations: 11.98 kB / 296.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.01183, allocations: 143.8 kB / 296.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.01184, allocations: 11.94 kB / 296.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.01193, allocations: 16.31 kB / 296.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01195, allocations: 20 kB / 296.9 MB, free: 12.76 MB / 298.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.121e-05/0.01204, allocations: 145.6 kB / 297.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.0121, allocations: 31.97 kB / 297.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.01223, allocations: 91.45 kB / 297.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01223, allocations: 4 kB / 297.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01224, allocations: 7.984 kB / 297.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.01225, allocations: 3.938 kB / 297.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.01293, allocations: 0.7372 MB / 297.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01294, allocations: 4 kB / 297.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.01319, allocations: 122.8 kB / 298.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01321, allocations: 31.8 kB / 298.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01322, allocations: 4 kB / 298.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.01323, allocations: 12.12 kB / 298.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.01324, allocations: 24.17 kB / 298.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01324, allocations: 0 / 298.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.01362, allocations: 0.6975 MB / 298.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01365, allocations: 12 kB / 298.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.01379, allocations: 8 kB / 298.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.01383, allocations: 35.83 kB / 298.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.01384, allocations: 12 kB / 298.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.01388, allocations: 66.78 kB / 299 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01388, allocations: 0 / 299 MB, free: 10.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.01419, allocations: 84 kB / 299.1 MB, free: 10.53 MB / 298.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.917e-05/0.01429, allocations: 100.3 kB / 299.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.0145, allocations: 202.6 kB / 299.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.01451, allocations: 8 kB / 299.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01462, allocations: 124.6 kB / 299.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.01527, allocations: 0.6758 MB / 300.2 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.01719, allocations: 0.7525 MB / 300.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.01727, allocations: 105.1 kB / 301 MB, free: 8.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.01738, allocations: 39.22 kB / 301 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.01752, allocations: 119.3 kB / 301.2 MB, free: 8.184 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01752, allocations: 4 kB / 301.2 MB, free: 8.18 MB / 298.7 MB Notification: Performance of Templates: time 0.005765/0.02329, allocations: 3.659 MB / 304.8 MB, free: 4.617 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.706212129443884]