Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001954/0.001954, allocations: 109 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.002669/0.002669, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Media.Examples.SimpleLiquidWater")
translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 59.91 kB / 378.7 MB, free: 2.82 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2396, allocations: 53.37 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006498/0.2461, allocations: 4.6 MB / 436.7 MB, free: 2.457 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002229/0.2483, allocations: 1.825 MB / 438.5 MB, free: 0.6289 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/0.2484, allocations: 0 / 438.5 MB, free: 0.6289 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.2487, allocations: 43.73 kB / 438.6 MB, free: 0.5859 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.249, allocations: 127.2 kB / 438.7 MB, free: 472 kB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.2497, allocations: 262.1 kB / 438.9 MB, free: 216 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004378/0.2502, allocations: 294.9 kB / 439.2 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.2502, allocations: 9.266 kB / 439.2 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.2505, allocations: 139.6 kB / 439.4 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2506, allocations: 83.62 kB / 439.5 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.2507, allocations: 8 kB / 439.5 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.2509, allocations: 111.8 kB / 439.6 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.251, allocations: 35.89 kB / 439.6 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2511, allocations: 79.66 kB / 439.7 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2515, allocations: 228.9 kB / 439.9 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2515, allocations: 0 / 439.9 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.2515, allocations: 0 / 439.9 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.531e-06/0.2515, allocations: 4 kB / 439.9 MB, free: 15.24 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.0009904/0.2525, allocations: 421.8 kB / 440.3 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2525, allocations: 12.03 kB / 440.3 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.2527, allocations: 16.89 kB / 440.4 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.2531, allocations: 154.3 kB / 440.5 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2531, allocations: 8.656 kB / 440.5 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.2531, allocations: 12.38 kB / 440.5 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.2536, allocations: 216.8 kB / 440.7 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2536, allocations: 3.938 kB / 440.7 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.2536, allocations: 16 kB / 440.8 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.2536, allocations: 4 kB / 440.8 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.254, allocations: 148.6 kB / 440.9 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2554, allocations: 0.9025 MB / 441.8 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.2559, allocations: 146.7 kB / 442 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2561, allocations: 52.77 kB / 442 MB, free: 13 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.2565, allocations: 336.2 kB / 442.3 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2566, allocations: 38.56 kB / 442.4 MB, free: 12.61 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.2566, allocations: 4 kB / 442.4 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of matching and sorting (n=20): time 0.002728/0.2593, allocations: 0.6868 MB / 443.1 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2594, allocations: 55.41 kB / 443.1 MB, free: 11.82 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.2595, allocations: 169.3 kB / 443.3 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.2596, allocations: 33.64 kB / 443.3 MB, free: 11.61 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.2597, allocations: 152.1 kB / 443.5 MB, free: 11.45 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.2597, allocations: 67.39 kB / 443.5 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2598, allocations: 61.69 kB / 443.6 MB, free: 11.32 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001519/0.26, allocations: 326.8 kB / 443.9 MB, free: 10.99 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.2603, allocations: 79.94 kB / 444 MB, free: 10.91 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.2606, allocations: 194 kB / 444.2 MB, free: 10.68 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.2612, allocations: 300.9 kB / 444.5 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2612, allocations: 4 kB / 444.5 MB, free: 10.33 MB / 350.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007658/0.262, allocations: 317.3 kB / 444.8 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.262, allocations: 8 kB / 444.8 MB, free: 10.01 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.262, allocations: 4 kB / 444.8 MB, free: 10 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2621, allocations: 4 kB / 444.8 MB, free: 10 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.2624, allocations: 79.89 kB / 444.9 MB, free: 9.922 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2625, allocations: 16.2 kB / 444.9 MB, free: 9.906 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.2627, allocations: 16 kB / 444.9 MB, free: 9.891 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.2627, allocations: 23.98 kB / 444.9 MB, free: 9.867 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.0001439/0.2629, allocations: 133.7 kB / 445.1 MB, free: 9.727 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.2629, allocations: 19.84 kB / 445.1 MB, free: 9.707 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/0.2637, allocations: 242.5 kB / 445.3 MB, free: 9.465 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2637, allocations: 0 / 445.3 MB, free: 9.465 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2637, allocations: 0 / 445.3 MB, free: 9.465 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2637, allocations: 4 kB / 445.3 MB, free: 9.461 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.2651, allocations: 0.5672 MB / 445.9 MB, free: 8.832 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.2651, allocations: 0 / 445.9 MB, free: 8.832 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.2654, allocations: 51.95 kB / 445.9 MB, free: 8.781 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2654, allocations: 7.875 kB / 445.9 MB, free: 8.773 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2654, allocations: 16.11 kB / 446 MB, free: 8.758 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2654, allocations: 0 / 446 MB, free: 8.758 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2654, allocations: 7.938 kB / 446 MB, free: 8.75 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.2664, allocations: 399.1 kB / 446.4 MB, free: 8.332 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.2664, allocations: 31.84 kB / 446.4 MB, free: 8.301 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.2665, allocations: 11.94 kB / 446.4 MB, free: 8.289 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.2667, allocations: 19.92 kB / 446.4 MB, free: 8.27 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.2668, allocations: 16.03 kB / 446.4 MB, free: 8.254 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.2668, allocations: 12 kB / 446.5 MB, free: 8.242 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 9.567e-05/0.2669, allocations: 108.1 kB / 446.6 MB, free: 8.137 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2669, allocations: 0 / 446.6 MB, free: 8.137 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003951/0.2673, allocations: 63.94 kB / 446.6 MB, free: 8.074 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.0002143/0.2675, allocations: 135.1 kB / 446.8 MB, free: 7.93 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000633/0.2681, allocations: 204.5 kB / 447 MB, free: 7.73 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2681, allocations: 8.062 kB / 447 MB, free: 7.723 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.2684, allocations: 83.89 kB / 447 MB, free: 7.641 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.2689, allocations: 47.69 kB / 447.1 MB, free: 7.594 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.27, allocations: 488.4 kB / 447.6 MB, free: 7.082 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.2704, allocations: 0.7207 MB / 448.3 MB, free: 6.336 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002325/0.2706, allocations: 49.86 kB / 448.3 MB, free: 6.289 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.481e-05/0.2707, allocations: 23.44 kB / 448.4 MB, free: 6.266 MB / 350.1 MB
Notification: Performance of SimCode: time 3e-07/0.2707, allocations: 0 / 448.4 MB, free: 6.266 MB / 350.1 MB
Notification: Performance of Templates: time 0.006704/0.2774, allocations: 2.89 MB / 451.2 MB, free: 3.391 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.62133405636996]