Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.002464/0.002464, allocations: 115.4 kB / 17.08 MB, free: 6.016 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.003834/0.003834, allocations: 195 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2397/0.2397, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 76.22 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1209, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0188/0.1398, allocations: 13.82 MB / 0.5021 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03075/0.1706, allocations: 26.58 MB / 0.528 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.1709, allocations: 0 / 0.528 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.1714, allocations: 99.38 kB / 0.5281 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3233/0.4947, allocations: 8.502 MB / 0.5364 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.4959, allocations: 346.9 kB / 0.5368 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005211/0.5011, allocations: 2.006 MB / 0.5387 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.5012, allocations: 24.73 kB / 0.5388 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005583/0.5018, allocations: 268.3 kB / 0.539 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007522/0.5093, allocations: 3.26 MB / 0.5422 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.5094, allocations: 12.25 kB / 0.5422 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02951/0.5389, allocations: 10.81 MB / 0.5528 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.5392, allocations: 50.86 kB / 0.5528 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.5396, allocations: 142.2 kB / 0.5529 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02139/0.561, allocations: 6.295 MB / 0.5591 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5611, allocations: 0 / 0.5591 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5611, allocations: 0.5625 kB / 0.5591 GB, free: 1.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.5611, allocations: 0 / 0.5591 GB, free: 1.656 MB / 414.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.005833/0.5669, allocations: 1.561 MB / 0.5606 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.567, allocations: 14.47 kB / 0.5606 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.5687, allocations: 221.7 kB / 0.5608 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.5691, allocations: 273 kB / 0.5611 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.5692, allocations: 24.2 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.5692, allocations: 35.06 kB / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.5716, allocations: 0.826 MB / 0.562 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5716, allocations: 4.875 kB / 0.562 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.5717, allocations: 12.03 kB / 0.562 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.5717, allocations: 8.672 kB / 0.562 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.5742, allocations: 0.9324 MB / 0.5629 GB, free: 15.27 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.003668/0.5779, allocations: 2.573 MB / 0.5654 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.5793, allocations: 382.2 kB / 0.5658 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.5795, allocations: 72.52 kB / 0.5658 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204/1.783, allocations: 227.4 MB / 0.7879 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002573/1.786, allocations: 477.2 kB / 0.7883 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.106e-05/1.786, allocations: 0 / 0.7883 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.005112/1.791, allocations: 0.7858 MB / 0.7891 GB, free: 224 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002989/1.792, allocations: 375.7 kB / 0.7895 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/1.792, allocations: 189.2 kB / 0.7896 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/1.792, allocations: 33.11 kB / 0.7897 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/1.792, allocations: 186.9 kB / 0.7898 GB, free: 223.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.793, allocations: 113.5 kB / 0.79 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/1.793, allocations: 124.2 kB / 0.7901 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.793, allocations: 332.1 kB / 0.7904 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/1.793, allocations: 77.78 kB / 0.7905 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/1.794, allocations: 348.3 kB / 0.7908 GB, free: 222.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.795, allocations: 485 kB / 0.7913 GB, free: 222 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/1.795, allocations: 3.906 kB / 0.7913 GB, free: 222 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001506/1.797, allocations: 476.6 kB / 0.7917 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/1.797, allocations: 10.47 kB / 0.7917 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.797, allocations: 9.797 kB / 0.7917 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.685e-05/1.797, allocations: 11.69 kB / 0.7918 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/1.798, allocations: 144.5 kB / 0.7919 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/1.798, allocations: 15.28 kB / 0.7919 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/1.798, allocations: 54.83 kB / 0.792 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.798, allocations: 43.45 kB / 0.792 GB, free: 221.8 MB / 0.6075 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.0003524/1.799, allocations: 168.7 kB / 0.7922 GB, free: 221.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.799, allocations: 30.47 kB / 0.7922 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.803, allocations: 2.602 MB / 0.7947 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/1.804, allocations: 19.97 kB / 0.7947 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/1.804, allocations: 4 kB / 0.7947 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.804, allocations: 4 kB / 0.7948 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/1.805, allocations: 0.9319 MB / 0.7957 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/1.805, allocations: 0 / 0.7957 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/1.806, allocations: 79.86 kB / 0.7957 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/1.806, allocations: 7.938 kB / 0.7957 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/1.806, allocations: 18.08 kB / 0.7958 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/1.806, allocations: 4 kB / 0.7958 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.806, allocations: 7.938 kB / 0.7958 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/1.808, allocations: 0.6889 MB / 0.7964 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/1.808, allocations: 136.4 kB / 0.7966 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/1.808, allocations: 107.9 kB / 0.7967 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/1.809, allocations: 15.98 kB / 0.7967 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/1.809, allocations: 23.97 kB / 0.7967 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/1.809, allocations: 19.94 kB / 0.7967 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001048/1.81, allocations: 0.504 MB / 0.7972 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.1e-07/1.81, allocations: 4 kB / 0.7972 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01106/1.821, allocations: 1.504 MB / 0.7987 GB, free: 215.4 MB / 0.6075 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.01629/1.838, allocations: 1.711 MB / 0.8004 GB, free: 214 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001792/1.839, allocations: 426.8 kB / 0.8008 GB, free: 213.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.948e-05/1.84, allocations: 3.5 kB / 0.8008 GB, free: 213.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/1.84, allocations: 276.7 kB / 0.801 GB, free: 213.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.842, allocations: 132 kB / 0.8012 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.244/4.086, allocations: 0.6 GB / 1.401 GB, free: 235.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/4.086, allocations: 0.9862 MB / 1.402 GB, free: 235 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/4.086, allocations: 62.05 kB / 1.402 GB, free: 235 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/4.086, allocations: 0 / 1.402 GB, free: 235 MB / 0.6075 GB Notification: Performance of Templates: time 0.05249/4.139, allocations: 32.74 MB / 1.434 GB, free: 220.1 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches