Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001556/0.001556, 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.002005/0.002005, allocations: 213.2 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.666/1.666, allocations: 230.3 MB / 257.9 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.89 MB / 361.3 MB, free: 4.539 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy")
translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 83.86 kB / 0.497 GB, free: 7.625 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.328, allocations: 66.03 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01865/0.3467, allocations: 12.62 MB / 0.5738 GB, free: 7.977 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001649/0.3483, allocations: 1.397 MB / 0.5752 GB, free: 6.574 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.3483, allocations: 3.938 kB / 0.5752 GB, free: 6.57 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.3485, allocations: 31.88 kB / 0.5752 GB, free: 6.539 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006084/0.3546, allocations: 2.236 MB / 0.5774 GB, free: 4.309 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 5.37e-06/0.3546, allocations: 0 / 0.5774 GB, free: 4.309 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.3547, allocations: 39.73 kB / 0.5775 GB, free: 4.27 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.3548, allocations: 7.922 kB / 0.5775 GB, free: 4.262 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.3548, allocations: 16 kB / 0.5775 GB, free: 4.246 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.3549, allocations: 11.92 kB / 0.5775 GB, free: 4.234 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3549, allocations: 7.938 kB / 0.5775 GB, free: 4.227 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.006832/0.3617, allocations: 3.847 MB / 0.5813 GB, free: 384 kB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.3617, allocations: 11.98 kB / 0.5813 GB, free: 372 kB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.3618, allocations: 11.88 kB / 0.5813 GB, free: 360 kB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003676/0.3655, allocations: 1.984 MB / 0.5832 GB, free: 14.36 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3655, allocations: 0 / 0.5832 GB, free: 14.36 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.884e-06/0.3655, allocations: 0 / 0.5832 GB, free: 14.36 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 1.141e-05/0.3655, allocations: 0 / 0.5832 GB, free: 14.36 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.001153/0.3666, allocations: 0.4889 MB / 0.5837 GB, free: 13.84 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3667, allocations: 8.031 kB / 0.5837 GB, free: 13.84 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.3668, allocations: 12.89 kB / 0.5837 GB, free: 13.82 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3669, allocations: 118.5 kB / 0.5838 GB, free: 13.68 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.367, allocations: 12.3 kB / 0.5838 GB, free: 13.67 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.367, allocations: 4.375 kB / 0.5838 GB, free: 13.67 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.3672, allocations: 95.42 kB / 0.5839 GB, free: 13.56 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3672, allocations: 0 / 0.5839 GB, free: 13.56 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3673, allocations: 0 / 0.5839 GB, free: 13.56 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3673, allocations: 0 / 0.5839 GB, free: 13.56 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.3674, allocations: 43.95 kB / 0.584 GB, free: 13.52 MB / 430.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.3679, allocations: 340 kB / 0.5843 GB, free: 13.14 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3681, allocations: 62.47 kB / 0.5844 GB, free: 13.07 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.3681, allocations: 8.859 kB / 0.5844 GB, free: 13.06 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.02033/0.3885, allocations: 5.66 MB / 0.5899 GB, free: 7.391 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3885, allocations: 30.56 kB / 0.5899 GB, free: 7.352 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.3885, allocations: 0 / 0.5899 GB, free: 7.352 MB / 430.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0005299/0.389, allocations: 101.6 kB / 0.59 GB, free: 7.246 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3891, allocations: 55.41 kB / 0.5901 GB, free: 7.18 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3892, allocations: 106 kB / 0.5902 GB, free: 7.066 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3892, allocations: 25.7 kB / 0.5902 GB, free: 7.035 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.3892, allocations: 100 kB / 0.5903 GB, free: 6.934 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.3893, allocations: 11.84 kB / 0.5903 GB, free: 6.922 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.3893, allocations: 21.7 kB / 0.5903 GB, free: 6.895 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001557/0.3895, allocations: 322.8 kB / 0.5906 GB, free: 6.57 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.3895, allocations: 4 kB / 0.5906 GB, free: 6.566 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.3895, allocations: 26.56 kB / 0.5907 GB, free: 6.531 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.3896, allocations: 42.52 kB / 0.5907 GB, free: 6.48 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3896, allocations: 0 / 0.5907 GB, free: 6.48 MB / 430.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001138/0.3897, allocations: 65.62 kB / 0.5908 GB, free: 6.41 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3897, allocations: 4 kB / 0.5908 GB, free: 6.406 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3897, allocations: 4.109 kB / 0.5908 GB, free: 6.402 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3898, allocations: 0 / 0.5908 GB, free: 6.402 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.3898, allocations: 16 kB / 0.5908 GB, free: 6.387 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3898, allocations: 64 / 0.5908 GB, free: 6.387 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.3899, allocations: 7.953 kB / 0.5908 GB, free: 6.379 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3899, allocations: 7.938 kB / 0.5908 GB, free: 6.371 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 1 (state.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (6):
 * Single equations (assignments): 6
 * 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.0001025/0.39, allocations: 115.2 kB / 0.5909 GB, free: 6.25 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.39, allocations: 3.938 kB / 0.5909 GB, free: 6.246 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.3905, allocations: 383.2 kB / 0.5913 GB, free: 5.863 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.3905, allocations: 7.984 kB / 0.5913 GB, free: 5.855 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3905, allocations: 0 / 0.5913 GB, free: 5.855 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3905, allocations: 4 kB / 0.5913 GB, free: 5.852 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.3908, allocations: 265.2 kB / 0.5915 GB, free: 5.551 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3908, allocations: 0 / 0.5915 GB, free: 5.551 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.3909, allocations: 4 kB / 0.5915 GB, free: 5.547 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3909, allocations: 7.938 kB / 0.5916 GB, free: 5.539 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3909, allocations: 0 / 0.5916 GB, free: 5.539 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3909, allocations: 0 / 0.5916 GB, free: 5.539 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3909, allocations: 0 / 0.5916 GB, free: 5.539 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3912, allocations: 293.6 kB / 0.5918 GB, free: 5.238 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.3912, allocations: 23.83 kB / 0.5919 GB, free: 5.215 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3912, allocations: 4 kB / 0.5919 GB, free: 5.211 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.3912, allocations: 0 / 0.5919 GB, free: 5.211 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.3913, allocations: 4 kB / 0.5919 GB, free: 5.207 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3913, allocations: 3.938 kB / 0.5919 GB, free: 5.203 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 5.747e-05/0.3913, allocations: 87.2 kB / 0.592 GB, free: 5.117 MB / 430.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3913, allocations: 0 / 0.592 GB, free: 5.117 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001302/0.3926, allocations: 451.3 kB / 0.5924 GB, free: 4.676 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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.002014/0.3946, allocations: 0.5592 MB / 0.5929 GB, free: 4.109 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001963/0.3948, allocations: 91.84 kB / 0.593 GB, free: 4.02 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3948, allocations: 0 / 0.593 GB, free: 4.02 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.3949, allocations: 63.97 kB / 0.5931 GB, free: 3.957 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3952, allocations: 20.11 kB / 0.5931 GB, free: 3.938 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.3958, allocations: 312.9 kB / 0.5934 GB, free: 3.602 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3961, allocations: 0.7086 MB / 0.5941 GB, free: 2.863 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 7.707e-05/0.3962, allocations: 31.91 kB / 0.5941 GB, free: 2.832 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.3962, allocations: 11.44 kB / 0.5941 GB, free: 2.824 MB / 430.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.3962, allocations: 0 / 0.5941 GB, free: 2.824 MB / 430.1 MB
Notification: Performance of Templates: time 0.02158/0.4178, allocations: 13.85 MB / 0.6077 GB, free: 4.973 MB / 446.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 5.922708274796605]