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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4255, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0179/0.4435, allocations: 13.82 MB / 0.5324 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.4754, allocations: 26.59 MB / 0.5584 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.4758, allocations: 0 / 0.5584 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.4763, allocations: 95.39 kB / 0.5585 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02993/0.5062, allocations: 8.539 MB / 0.5668 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.5074, allocations: 342.3 kB / 0.5672 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005342/0.5128, allocations: 2.01 MB / 0.5691 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.5129, allocations: 16.41 kB / 0.5692 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.5136, allocations: 274.8 kB / 0.5694 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008028/0.5217, allocations: 3.258 MB / 0.5726 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.5218, allocations: 12 kB / 0.5726 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02598/0.5478, allocations: 10.81 MB / 0.5832 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.548, allocations: 51.7 kB / 0.5832 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.5483, allocations: 135.4 kB / 0.5833 GB, free: 9.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.5701, allocations: 6.316 MB / 0.5895 GB, free: 3.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.5702, allocations: 3.984 kB / 0.5895 GB, free: 3.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5702, allocations: 0 / 0.5895 GB, free: 3.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.5702, allocations: 0 / 0.5895 GB, free: 3.57 MB / 446.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.006038/0.5762, allocations: 1.56 MB / 0.591 GB, free: 1.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.13e-05/0.5763, allocations: 8.031 kB / 0.591 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.5785, allocations: 220.4 kB / 0.5913 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/0.5792, allocations: 275.9 kB / 0.5915 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.5792, allocations: 21.03 kB / 0.5915 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.5793, allocations: 36.12 kB / 0.5916 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.5821, allocations: 0.8249 MB / 0.5924 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5821, allocations: 7.938 kB / 0.5924 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.5822, allocations: 16 kB / 0.5924 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5822, allocations: 8 kB / 0.5924 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.5848, allocations: 0.9349 MB / 0.5933 GB, free: 15.54 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.003502/0.5883, allocations: 2.573 MB / 0.5958 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.5898, allocations: 378.2 kB / 0.5962 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.59, allocations: 80.8 kB / 0.5963 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9643/1.554, allocations: 227.4 MB / 0.8184 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.556, allocations: 473.2 kB / 0.8188 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 4.779e-06/1.556, allocations: 0 / 0.8188 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003149/1.559, allocations: 0.7825 MB / 0.8196 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/1.559, allocations: 375.8 kB / 0.8199 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.559, allocations: 180.4 kB / 0.8201 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/1.559, allocations: 34.08 kB / 0.8201 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/1.56, allocations: 189.3 kB / 0.8203 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/1.56, allocations: 105.8 kB / 0.8204 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/1.56, allocations: 130 kB / 0.8205 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/1.56, allocations: 333.6 kB / 0.8209 GB, free: 107 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/1.56, allocations: 81.06 kB / 0.8209 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/1.56, allocations: 341.7 kB / 0.8213 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/1.561, allocations: 482.2 kB / 0.8217 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.561, allocations: 4 kB / 0.8217 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008704/1.562, allocations: 472.3 kB / 0.8222 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.562, allocations: 8.906 kB / 0.8222 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.562, allocations: 11.94 kB / 0.8222 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/1.562, allocations: 12 kB / 0.8222 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/1.562, allocations: 147.8 kB / 0.8223 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.562, allocations: 19.88 kB / 0.8224 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/1.563, allocations: 55.42 kB / 0.8224 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/1.563, allocations: 43.98 kB / 0.8225 GB, free: 105.1 MB / 0.5762 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.0001756/1.563, allocations: 157.6 kB / 0.8226 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.563, allocations: 27.81 kB / 0.8226 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/1.565, allocations: 2.586 MB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.565, allocations: 19.97 kB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.565, allocations: 7.938 kB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.565, allocations: 4 kB / 0.8252 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/1.566, allocations: 0.9339 MB / 0.8261 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.566, allocations: 4 kB / 0.8261 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/1.567, allocations: 71.86 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/1.567, allocations: 8.25 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/1.567, allocations: 12 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.567, allocations: 7.844 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.567, allocations: 11.88 kB / 0.8262 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/1.568, allocations: 0.6889 MB / 0.8269 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/1.568, allocations: 140.1 kB / 0.827 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.568, allocations: 110.5 kB / 0.8271 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/1.568, allocations: 17.17 kB / 0.8271 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/1.568, allocations: 31.91 kB / 0.8272 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/1.568, allocations: 16 kB / 0.8272 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005216/1.569, allocations: 0.4962 MB / 0.8277 GB, free: 99.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.569, allocations: 4 kB / 0.8277 GB, free: 99.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004572/1.573, allocations: 1.507 MB / 0.8291 GB, free: 98.2 MB / 0.5762 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.008216/1.582, allocations: 1.713 MB / 0.8308 GB, free: 96.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009674/1.583, allocations: 420.4 kB / 0.8312 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.583, allocations: 4.312 kB / 0.8312 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/1.583, allocations: 272.7 kB / 0.8315 GB, free: 95.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/1.584, allocations: 140.6 kB / 0.8316 GB, free: 95.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.691/3.275, allocations: 0.6004 GB / 1.432 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/3.275, allocations: 0.9856 MB / 1.433 GB, free: 200.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005875/3.276, allocations: 0.5229 MB / 1.434 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/3.276, allocations: 51.41 kB / 1.434 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/3.276, allocations: 0 / 1.434 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.05288/3.329, allocations: 55.72 MB / 1.488 GB, free: 144.2 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (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) 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) Reference file matches