Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater")
translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 72.53 kB / 379 MB, free: 2.672 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.246, allocations: 53.37 MB / 432.4 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00629/0.2523, allocations: 4.601 MB / 437 MB, free: 2.355 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002193/0.2545, allocations: 1.825 MB / 438.8 MB, free: 0.5273 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.2546, allocations: 4 kB / 438.8 MB, free: 0.5234 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.2548, allocations: 43.62 kB / 438.9 MB, free: 492 kB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.2552, allocations: 123.2 kB / 439 MB, free: 368 kB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.2558, allocations: 258.5 kB / 439.2 MB, free: 116 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000394/0.2562, allocations: 294.9 kB / 439.5 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.2562, allocations: 9.266 kB / 439.5 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2565, allocations: 143.5 kB / 439.7 MB, free: 15.67 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2566, allocations: 83.62 kB / 439.7 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.2567, allocations: 8 kB / 439.8 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.2569, allocations: 115.8 kB / 439.9 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.257, allocations: 35.91 kB / 439.9 MB, free: 15.43 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.2571, allocations: 79.64 kB / 440 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.2574, allocations: 221 kB / 440.2 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2574, allocations: 4 kB / 440.2 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.122e-06/0.2574, allocations: 0 / 440.2 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.52e-06/0.2574, allocations: 0 / 440.2 MB, free: 15.14 MB / 350.1 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.0009546/0.2584, allocations: 425.8 kB / 440.6 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2584, allocations: 8.031 kB / 440.6 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2586, allocations: 16.89 kB / 440.6 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.2589, allocations: 150.3 kB / 440.8 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.259, allocations: 12.66 kB / 440.8 MB, free: 14.49 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.259, allocations: 16.38 kB / 440.8 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.2594, allocations: 221.5 kB / 441 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2594, allocations: 0 / 441 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2595, allocations: 4 kB / 441 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2595, allocations: 8 kB / 441 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.2599, allocations: 159.8 kB / 441.2 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.2612, allocations: 0.8948 MB / 442.1 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.2617, allocations: 150.6 kB / 442.2 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.2618, allocations: 55.5 kB / 442.3 MB, free: 12.9 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/0.2623, allocations: 328.2 kB / 442.6 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2623, allocations: 34.56 kB / 442.7 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2623, allocations: 3.938 kB / 442.7 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of matching and sorting (n=20): time 0.002569/0.2649, allocations: 0.6998 MB / 443.4 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2649, allocations: 51.41 kB / 443.4 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2651, allocations: 162.3 kB / 443.6 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.2651, allocations: 29.7 kB / 443.6 MB, free: 11.51 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.2652, allocations: 144.1 kB / 443.7 MB, free: 11.37 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.2653, allocations: 71.39 kB / 443.8 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.2654, allocations: 61.69 kB / 443.9 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001625/0.2655, allocations: 326.8 kB / 444.2 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.2658, allocations: 79.94 kB / 444.3 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.2661, allocations: 202 kB / 444.5 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.2667, allocations: 305.1 kB / 444.8 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2667, allocations: 0 / 444.8 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007095/0.2674, allocations: 321.2 kB / 445.1 MB, free: 9.914 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2674, allocations: 8 kB / 445.1 MB, free: 9.906 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2674, allocations: 4 kB / 445.1 MB, free: 9.902 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2675, allocations: 4 kB / 445.1 MB, free: 9.898 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.2679, allocations: 83.89 kB / 445.2 MB, free: 9.816 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.2679, allocations: 7.984 kB / 445.2 MB, free: 9.809 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.2681, allocations: 20.27 kB / 445.2 MB, free: 9.789 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.2681, allocations: 12 kB / 445.2 MB, free: 9.777 MB / 350.1 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 0.0001469/0.2683, allocations: 137.7 kB / 445.3 MB, free: 9.633 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.2683, allocations: 19.84 kB / 445.4 MB, free: 9.613 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.269, allocations: 242.6 kB / 445.6 MB, free: 9.371 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.269, allocations: 4 kB / 445.6 MB, free: 9.367 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.269, allocations: 0 / 445.6 MB, free: 9.367 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.269, allocations: 0 / 445.6 MB, free: 9.367 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.2703, allocations: 0.5711 MB / 446.2 MB, free: 8.734 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2703, allocations: 4 kB / 446.2 MB, free: 8.73 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.2706, allocations: 55.89 kB / 446.2 MB, free: 8.676 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2706, allocations: 0 / 446.2 MB, free: 8.676 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.2706, allocations: 7.984 kB / 446.2 MB, free: 8.668 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2707, allocations: 8.125 kB / 446.2 MB, free: 8.66 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2707, allocations: 3.938 kB / 446.3 MB, free: 8.656 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.2715, allocations: 413.3 kB / 446.7 MB, free: 8.227 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.2716, allocations: 31.81 kB / 446.7 MB, free: 8.195 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2716, allocations: 4 kB / 446.7 MB, free: 8.191 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.2719, allocations: 19.92 kB / 446.7 MB, free: 8.172 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2719, allocations: 19.97 kB / 446.7 MB, free: 8.152 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.2719, allocations: 8 kB / 446.7 MB, free: 8.145 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 9.28e-05/0.272, allocations: 118.5 kB / 446.9 MB, free: 8.031 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.272, allocations: 0 / 446.9 MB, free: 8.031 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003824/0.2724, allocations: 67.88 kB / 446.9 MB, free: 7.965 MB / 350.1 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.0002163/0.2726, allocations: 127.2 kB / 447 MB, free: 7.828 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006314/0.2733, allocations: 207.3 kB / 447.2 MB, free: 7.629 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2733, allocations: 0 / 447.2 MB, free: 7.629 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000245/0.2735, allocations: 91.94 kB / 447.3 MB, free: 7.539 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2739, allocations: 47.77 kB / 447.4 MB, free: 7.492 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2751, allocations: 485.5 kB / 447.9 MB, free: 6.98 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2755, allocations: 0.7168 MB / 448.6 MB, free: 6.238 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002234/0.2757, allocations: 49.88 kB / 448.6 MB, free: 6.191 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.2758, allocations: 23.42 kB / 448.6 MB, free: 6.168 MB / 350.1 MB
Notification: Performance of SimCode: time 4.41e-07/0.2758, allocations: 0 / 448.6 MB, free: 6.168 MB / 350.1 MB
Notification: Performance of Templates: time 0.006954/0.2827, allocations: 2.894 MB / 451.5 MB, free: 3.293 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.552709000185132]