Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.001062/0.001062, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001713/0.002776, 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.0009421/0.0009421, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.00244, 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.8819/0.8819, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1578/1.04, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.561e-05, allocations: 6.062 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006222/0.006248, allocations: 4.614 MB / 244.3 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.008492, allocations: 1.82 MB / 246.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.00855, allocations: 0 / 246.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.008725, allocations: 43.62 kB / 246.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.009037, allocations: 132 kB / 246.3 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.009909, allocations: 245.9 kB / 246.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.01025, allocations: 295.4 kB / 246.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.0103, allocations: 9.969 kB / 246.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.01063, allocations: 176.2 kB / 247 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.01075, allocations: 72.23 kB / 247.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.01078, allocations: 8.781 kB / 247.1 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.01101, allocations: 87.94 kB / 247.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.01107, allocations: 29.61 kB / 247.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.01113, allocations: 51.88 kB / 247.3 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.01142, allocations: 175.4 kB / 247.5 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.01143, allocations: 0 / 247.5 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01143, allocations: 0 / 247.5 MB, free: 14.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.01144, allocations: 4 kB / 247.5 MB, free: 14.63 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007715/0.01222, allocations: 497.3 kB / 247.9 MB, free: 14.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.01224, allocations: 12.03 kB / 248 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.01239, allocations: 44.72 kB / 248 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.01257, allocations: 145.6 kB / 248.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.01258, allocations: 8.656 kB / 248.2 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.01261, allocations: 20.38 kB / 248.2 MB, free: 13.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.01287, allocations: 342.9 kB / 248.5 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01288, allocations: 4.188 kB / 248.5 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.01289, allocations: 12.11 kB / 248.5 MB, free: 13.44 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.0129, allocations: 4 kB / 248.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.01299, allocations: 83.16 kB / 248.6 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.01367, allocations: 0.7482 MB / 249.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.01384, allocations: 137.2 kB / 249.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.01388, allocations: 28.84 kB / 249.5 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.01416, allocations: 330.4 kB / 249.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.01418, allocations: 34.56 kB / 249.9 MB, free: 12.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.01418, allocations: 3.938 kB / 249.9 MB, free: 12.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001277/0.01546, allocations: 0.6334 MB / 250.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.01548, allocations: 55.41 kB / 250.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.01556, allocations: 168.5 kB / 250.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.01558, allocations: 29.7 kB / 250.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.01563, allocations: 144 kB / 250.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.01567, allocations: 75.36 kB / 251 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.01573, allocations: 57.67 kB / 251 MB, free: 10.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.0158, allocations: 326.8 kB / 251.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.342e-05/0.01585, allocations: 34.81 kB / 251.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.01593, allocations: 153.4 kB / 251.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.01609, allocations: 229.3 kB / 251.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01609, allocations: 0 / 251.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001946/0.01629, allocations: 218.4 kB / 252 MB, free: 9.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.0163, allocations: 8 kB / 252 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01631, allocations: 4 kB / 252 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01632, allocations: 4 kB / 252 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.01654, allocations: 92.28 kB / 252.1 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.01654, allocations: 8 kB / 252.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.01663, allocations: 12 kB / 252.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.01665, allocations: 15.98 kB / 252.1 MB, free: 9.586 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.468e-05/0.01672, allocations: 136.5 kB / 252.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.01676, allocations: 15.98 kB / 252.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.01694, allocations: 149.9 kB / 252.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01694, allocations: 4 kB / 252.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01695, allocations: 3.938 kB / 252.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01695, allocations: 4 kB / 252.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.01741, allocations: 414.1 kB / 252.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01741, allocations: 0 / 252.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.01755, allocations: 59.83 kB / 252.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01757, allocations: 19.89 kB / 252.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01757, allocations: 4.125 kB / 252.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.01759, allocations: 8 kB / 252.9 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01759, allocations: 8 kB / 252.9 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01759, allocations: 0 / 252.9 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.01782, allocations: 322 kB / 253.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01784, allocations: 8 kB / 253.2 MB, free: 8.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.01793, allocations: 4 kB / 253.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.01795, allocations: 19.97 kB / 253.3 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.01796, allocations: 8.031 kB / 253.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.01799, allocations: 32.81 kB / 253.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01799, allocations: 0 / 253.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.01821, allocations: 71.81 kB / 253.4 MB, free: 8.238 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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 0.0001905/0.0184, allocations: 116.3 kB / 253.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.01858, allocations: 155.8 kB / 253.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.01859, allocations: 4 kB / 253.6 MB, free: 7.961 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.01866, allocations: 78.09 kB / 253.7 MB, free: 7.883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.0189, allocations: 80.31 kB / 253.8 MB, free: 7.805 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.02129, allocations: 387.8 kB / 254.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.02134, allocations: 80.27 kB / 254.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.0215, allocations: 41.89 kB / 254.3 MB, free: 7.246 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.02166, allocations: 103.3 kB / 254.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02166, allocations: 0 / 254.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of Templates: time 0.004761/0.02642, allocations: 2.988 MB / 257.4 MB, free: 4.188 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.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.3955616382882]