Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001547/0.001547, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 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.001968/0.001968, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 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 1.51/1.51, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2449/0.2449, allocations: 44.91 MB / 353.5 MB, free: 11.85 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
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(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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 497.7 MB, free: 0.9766 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5089, allocations: 64.28 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02149/0.5304, allocations: 13.95 MB / 0.5625 GB, free: 1.434 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.03586/0.5662, allocations: 26.76 MB / 0.5886 GB, free: 6.578 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.5665, allocations: 4 kB / 0.5886 GB, free: 6.574 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.567, allocations: 95.38 kB / 0.5887 GB, free: 6.48 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.03006/0.5971, allocations: 8.554 MB / 0.5971 GB, free: 13.92 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.5983, allocations: 342.8 kB / 0.5974 GB, free: 13.59 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005693/0.6039, allocations: 2.017 MB / 0.5994 GB, free: 11.55 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.604, allocations: 16.59 kB / 0.5994 GB, free: 11.53 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.6047, allocations: 278.8 kB / 0.5996 GB, free: 11.26 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.007927/0.6127, allocations: 3.274 MB / 0.6028 GB, free: 7.93 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.6128, allocations: 12 kB / 0.6029 GB, free: 7.918 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.02504/0.6378, allocations: 10.85 MB / 0.6135 GB, free: 13.05 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.6379, allocations: 47.81 kB / 0.6135 GB, free: 13.01 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.6382, allocations: 139.3 kB / 0.6136 GB, free: 12.87 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0206/0.6588, allocations: 6.329 MB / 0.6198 GB, free: 6.527 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.6588, allocations: 7.938 kB / 0.6198 GB, free: 6.52 MB / 462.1 MB
Notification: Performance of FrontEnd: time 3.626e-06/0.6588, allocations: 3.984 kB / 0.6198 GB, free: 6.516 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 1.436e-05/0.6588, allocations: 8 kB / 0.6198 GB, free: 6.508 MB / 462.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.006159/0.665, allocations: 1.517 MB / 0.6213 GB, free: 4.953 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.665, allocations: 12.92 kB / 0.6213 GB, free: 4.941 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.6669, allocations: 212.6 kB / 0.6215 GB, free: 4.734 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.6675, allocations: 230 kB / 0.6217 GB, free: 4.484 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.6676, allocations: 25.03 kB / 0.6218 GB, free: 4.461 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.6676, allocations: 32.12 kB / 0.6218 GB, free: 4.43 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.6703, allocations: 0.8251 MB / 0.6226 GB, free: 3.559 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.6704, allocations: 4 kB / 0.6226 GB, free: 3.555 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.6704, allocations: 20 kB / 0.6226 GB, free: 3.535 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.6704, allocations: 11.94 kB / 0.6226 GB, free: 3.523 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.6731, allocations: 0.9312 MB / 0.6235 GB, free: 2.594 MB / 462.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.003677/0.6768, allocations: 2.3 MB / 0.6258 GB, free: 152 kB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.6782, allocations: 370.3 kB / 0.6261 GB, free: 15.77 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.6784, allocations: 72.83 kB / 0.6262 GB, free: 15.7 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.066/1.745, allocations: 158.1 MB / 0.7806 GB, free: 116.5 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/1.746, allocations: 473 kB / 0.781 GB, free: 116 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=32): time 3.827e-06/1.746, allocations: 2.297 kB / 0.781 GB, free: 116 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=32): time 0.002963/1.749, allocations: 0.782 MB / 0.7818 GB, free: 115.4 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.749, allocations: 371.2 kB / 0.7822 GB, free: 114.9 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/1.749, allocations: 190.1 kB / 0.7823 GB, free: 114.8 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 5.468e-05/1.749, allocations: 33.08 kB / 0.7824 GB, free: 114.8 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.75, allocations: 187.3 kB / 0.7825 GB, free: 114.6 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.75, allocations: 118.8 kB / 0.7827 GB, free: 114.5 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/1.75, allocations: 123 kB / 0.7828 GB, free: 114.4 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 7.375e-05/1.75, allocations: 337.6 kB / 0.7831 GB, free: 114.1 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/1.75, allocations: 79.06 kB / 0.7832 GB, free: 114 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/1.75, allocations: 347.3 kB / 0.7835 GB, free: 113.6 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/1.751, allocations: 488.2 kB / 0.784 GB, free: 113.1 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.751, allocations: 0 / 0.784 GB, free: 113.1 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009474/1.752, allocations: 469.7 kB / 0.7844 GB, free: 112.8 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.752, allocations: 8 kB / 0.7844 GB, free: 112.8 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.752, allocations: 12.09 kB / 0.7844 GB, free: 112.8 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/1.752, allocations: 12 kB / 0.7844 GB, free: 112.8 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.752, allocations: 148.7 kB / 0.7846 GB, free: 112.6 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.752, allocations: 15.38 kB / 0.7846 GB, free: 112.6 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/1.753, allocations: 59.44 kB / 0.7847 GB, free: 112.6 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.753, allocations: 43.48 kB / 0.7847 GB, free: 112.6 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.0002099/1.753, allocations: 171.7 kB / 0.7849 GB, free: 112.4 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/1.753, allocations: 23.91 kB / 0.7849 GB, free: 112.4 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/1.756, allocations: 2.75 MB / 0.7876 GB, free: 110.5 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/1.756, allocations: 26.44 kB / 0.7876 GB, free: 110.5 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.756, allocations: 7.844 kB / 0.7876 GB, free: 110.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/1.756, allocations: 11.92 kB / 0.7876 GB, free: 110.5 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009783/1.757, allocations: 0.9215 MB / 0.7885 GB, free: 109.8 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.757, allocations: 4 kB / 0.7885 GB, free: 109.8 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/1.757, allocations: 74.86 kB / 0.7886 GB, free: 109.8 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/1.757, allocations: 8 kB / 0.7886 GB, free: 109.8 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/1.757, allocations: 11.75 kB / 0.7886 GB, free: 109.8 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/1.757, allocations: 4 kB / 0.7886 GB, free: 109.8 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.757, allocations: 7.188 kB / 0.7886 GB, free: 109.8 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009198/1.758, allocations: 0.7185 MB / 0.7893 GB, free: 109.1 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/1.758, allocations: 61.7 kB / 0.7894 GB, free: 109.1 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/1.758, allocations: 105.2 kB / 0.7895 GB, free: 109 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/1.759, allocations: 15.67 kB / 0.7895 GB, free: 109 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/1.759, allocations: 34.8 kB / 0.7895 GB, free: 109 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/1.759, allocations: 15.94 kB / 0.7895 GB, free: 109 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0005194/1.759, allocations: 0.5085 MB / 0.79 GB, free: 108.6 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 6e-08/1.759, allocations: 0 / 0.79 GB, free: 108.6 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.004658/1.764, allocations: 1.524 MB / 0.7915 GB, free: 107.1 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.008011/1.772, allocations: 1.743 MB / 0.7932 GB, free: 105.5 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0009771/1.773, allocations: 423 kB / 0.7936 GB, free: 105.3 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.773, allocations: 0 / 0.7936 GB, free: 105.3 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003558/1.773, allocations: 228.7 kB / 0.7939 GB, free: 105.1 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009603/1.774, allocations: 137.3 kB / 0.794 GB, free: 105 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.356/3.131, allocations: 0.6008 GB / 1.395 GB, free: 61.32 MB / 0.6231 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/3.131, allocations: 0.9856 MB / 1.396 GB, free: 60.31 MB / 0.6231 GB
Notification: Performance of simCode: alias equations: time 0.0006794/3.132, allocations: 0.5194 MB / 1.396 GB, free: 59.81 MB / 0.6231 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/3.132, allocations: 51.41 kB / 1.396 GB, free: 59.76 MB / 0.6231 GB
Notification: Performance of SimCode: time 1.773e-06/3.132, allocations: 0 / 1.396 GB, free: 59.76 MB / 0.6231 GB
Notification: Performance of Templates: time 0.06256/3.194, allocations: 56.17 MB / 1.451 GB, free: 3.613 MB / 0.6231 GB
"
[Timeout remaining time 657]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.484199925325811]