Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.002168/0.002168, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002389/0.002389, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.527/1.527, allocations: 230.3 MB / 258 MB, free: 8.266 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.2238/0.2238, allocations: 46.9 MB / 361.3 MB, free: 4.461 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.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph")
translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 87.84 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4401, allocations: 66.03 MB / 0.5616 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0201/0.4602, allocations: 14.04 MB / 0.5753 GB, free: 6.5 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.03636/0.4966, allocations: 26.77 MB / 0.6015 GB, free: 11.64 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004307/0.497, allocations: 4 kB / 0.6015 GB, free: 11.63 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000801/0.4978, allocations: 99.33 kB / 0.6015 GB, free: 11.54 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.03068/0.5285, allocations: 8.554 MB / 0.6099 GB, free: 2.98 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.5296, allocations: 357.4 kB / 0.6102 GB, free: 2.637 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004962/0.5345, allocations: 2.013 MB / 0.6122 GB, free: 0.5977 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.5346, allocations: 16.53 kB / 0.6122 GB, free: 0.5781 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005627/0.5352, allocations: 282.8 kB / 0.6125 GB, free: 308 kB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.007302/0.5425, allocations: 3.277 MB / 0.6157 GB, free: 12.96 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.5425, allocations: 12 kB / 0.6157 GB, free: 12.95 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.02552/0.568, allocations: 10.85 MB / 0.6263 GB, free: 2.086 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.5682, allocations: 51.77 kB / 0.6264 GB, free: 2.035 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.5685, allocations: 147.3 kB / 0.6265 GB, free: 1.891 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02275/0.5913, allocations: 6.334 MB / 0.6327 GB, free: 11.54 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.5913, allocations: 3.984 kB / 0.6327 GB, free: 11.54 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.963e-06/0.5913, allocations: 0 / 0.6327 GB, free: 11.54 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 1.2e-05/0.5913, allocations: 0 / 0.6327 GB, free: 11.54 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 77
 * Number of variables: 77
Notification: Performance of Generate backend data structure: time 0.005994/0.5973, allocations: 1.533 MB / 0.6342 GB, free: 9.969 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.5974, allocations: 12.03 kB / 0.6342 GB, free: 9.957 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.5993, allocations: 220.5 kB / 0.6344 GB, free: 9.742 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.5998, allocations: 218.1 kB / 0.6346 GB, free: 9.504 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.5999, allocations: 29.03 kB / 0.6346 GB, free: 9.477 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.5999, allocations: 32.12 kB / 0.6347 GB, free: 9.445 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.6027, allocations: 0.8212 MB / 0.6355 GB, free: 8.578 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.6027, allocations: 0 / 0.6355 GB, free: 8.578 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.6028, allocations: 16 kB / 0.6355 GB, free: 8.562 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.6028, allocations: 8 kB / 0.6355 GB, free: 8.555 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.6055, allocations: 0.9429 MB / 0.6364 GB, free: 7.613 MB / 478.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.003942/0.6095, allocations: 2.296 MB / 0.6387 GB, free: 5.172 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.6109, allocations: 378.1 kB / 0.639 GB, free: 4.793 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.6111, allocations: 68.81 kB / 0.6391 GB, free: 4.723 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.08/1.691, allocations: 160.4 MB / 0.7957 GB, free: 116.9 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/1.692, allocations: 479.5 kB / 0.7962 GB, free: 116.3 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=32): time 3.096e-06/1.692, allocations: 0 / 0.7962 GB, free: 116.3 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=32): time 0.003115/1.695, allocations: 0.7814 MB / 0.7969 GB, free: 115.6 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.696, allocations: 379.7 kB / 0.7973 GB, free: 115.1 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/1.696, allocations: 176.8 kB / 0.7975 GB, free: 114.9 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 4.781e-05/1.696, allocations: 29.7 kB / 0.7975 GB, free: 114.9 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001007/1.696, allocations: 192.3 kB / 0.7977 GB, free: 114.7 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/1.696, allocations: 117.2 kB / 0.7978 GB, free: 114.6 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/1.696, allocations: 126.1 kB / 0.7979 GB, free: 114.5 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 7.372e-05/1.696, allocations: 334.4 kB / 0.7982 GB, free: 114.2 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/1.696, allocations: 80.94 kB / 0.7983 GB, free: 114.1 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/1.697, allocations: 344 kB / 0.7986 GB, free: 113.6 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/1.697, allocations: 482.6 kB / 0.7991 GB, free: 113 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/1.697, allocations: 4 kB / 0.7991 GB, free: 113 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.000933/1.698, allocations: 472.9 kB / 0.7996 GB, free: 112.6 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.698, allocations: 8 kB / 0.7996 GB, free: 112.6 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.698, allocations: 8 kB / 0.7996 GB, free: 112.5 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/1.698, allocations: 13.83 kB / 0.7996 GB, free: 112.5 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/1.699, allocations: 143.8 kB / 0.7997 GB, free: 112.4 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/1.699, allocations: 23.88 kB / 0.7997 GB, free: 112.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/1.699, allocations: 49.09 kB / 0.7998 GB, free: 112.3 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/1.699, allocations: 50.66 kB / 0.7998 GB, free: 112.3 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 41
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (58):
 * Single equations (assignments): 58
 * 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.0001796/1.699, allocations: 164.3 kB / 0.8 GB, free: 112.1 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.699, allocations: 31.84 kB / 0.8 GB, free: 112.1 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/1.702, allocations: 2.757 MB / 0.8027 GB, free: 109.4 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.702, allocations: 19.97 kB / 0.8027 GB, free: 109.3 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.702, allocations: 4 kB / 0.8027 GB, free: 109.3 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.702, allocations: 4 kB / 0.8027 GB, free: 109.3 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/1.703, allocations: 0.9313 MB / 0.8037 GB, free: 108.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.703, allocations: 4 kB / 0.8037 GB, free: 108.4 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/1.703, allocations: 71.88 kB / 0.8037 GB, free: 108.3 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/1.703, allocations: 7.984 kB / 0.8037 GB, free: 108.3 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/1.703, allocations: 12 kB / 0.8037 GB, free: 108.3 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.703, allocations: 4.062 kB / 0.8037 GB, free: 108.3 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.703, allocations: 15.03 kB / 0.8038 GB, free: 108.3 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/1.705, allocations: 0.7165 MB / 0.8045 GB, free: 107.5 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.705, allocations: 51.58 kB / 0.8045 GB, free: 107.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/1.705, allocations: 111 kB / 0.8046 GB, free: 107.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/1.705, allocations: 15.94 kB / 0.8046 GB, free: 107.3 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/1.705, allocations: 35.88 kB / 0.8047 GB, free: 107.3 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/1.705, allocations: 16 kB / 0.8047 GB, free: 107.3 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0006049/1.706, allocations: 0.5078 MB / 0.8052 GB, free: 106.8 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7.1e-08/1.706, allocations: 0 / 0.8052 GB, free: 106.8 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.005555/1.712, allocations: 1.524 MB / 0.8067 GB, free: 105.2 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (36):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 4
 * 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.008909/1.72, allocations: 1.744 MB / 0.8084 GB, free: 103.7 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.001045/1.722, allocations: 426.4 kB / 0.8088 GB, free: 103.2 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.722, allocations: 0.75 kB / 0.8088 GB, free: 103.2 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003739/1.722, allocations: 236.7 kB / 0.809 GB, free: 103 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.723, allocations: 128.1 kB / 0.8091 GB, free: 102.9 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.463/3.186, allocations: 0.6026 GB / 1.412 GB, free: 58.09 MB / 0.6387 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/3.187, allocations: 0.9895 MB / 1.413 GB, free: 57.07 MB / 0.6387 GB
Notification: Performance of simCode: alias equations: time 0.0006166/3.187, allocations: 0.5246 MB / 1.413 GB, free: 56.56 MB / 0.6387 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/3.187, allocations: 59.39 kB / 1.413 GB, free: 56.5 MB / 0.6387 GB
Notification: Performance of SimCode: time 1.153e-06/3.187, allocations: 0 / 1.413 GB, free: 56.5 MB / 0.6387 GB
Notification: Performance of Templates: time 0.3455/3.533, allocations: 56.26 MB / 1.468 GB, free: 240.2 MB / 0.6387 GB
"
[Timeout remaining time 656]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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: 12.622579130344093]