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.00102/0.00102, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001026/0.001026, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.289/1.289, allocations: 222.9 MB / 243.1 MB, free: 15.2 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.2196/0.2196, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3737, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01664/0.3904, allocations: 13.82 MB / 0.5331 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02959/0.42, allocations: 26.6 MB / 0.5591 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.4203, allocations: 0 / 0.5591 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.4207, allocations: 95.39 kB / 0.5592 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02701/0.4478, allocations: 8.531 MB / 0.5675 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009576/0.4487, allocations: 350.5 kB / 0.5678 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004231/0.453, allocations: 2.006 MB / 0.5698 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.453, allocations: 16.41 kB / 0.5698 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.4535, allocations: 270.8 kB / 0.5701 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006653/0.4602, allocations: 3.262 MB / 0.5733 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.4603, allocations: 12 kB / 0.5733 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02179/0.4821, allocations: 10.81 MB / 0.5838 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4822, allocations: 51.7 kB / 0.5839 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.4825, allocations: 135.4 kB / 0.584 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.5008, allocations: 6.316 MB / 0.5902 GB, free: 3.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5008, allocations: 0 / 0.5902 GB, free: 3.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5008, allocations: 0 / 0.5902 GB, free: 3.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.5008, allocations: 0 / 0.5902 GB, free: 3.586 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.004708/0.5055, allocations: 1.564 MB / 0.5917 GB, free: 1.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5056, allocations: 8.031 kB / 0.5917 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.5073, allocations: 216.4 kB / 0.5919 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.5077, allocations: 279.9 kB / 0.5922 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.5078, allocations: 21.03 kB / 0.5922 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.5078, allocations: 36.12 kB / 0.5922 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.5101, allocations: 0.8172 MB / 0.593 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5101, allocations: 4 kB / 0.593 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.5102, allocations: 12 kB / 0.593 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.5102, allocations: 8 kB / 0.5931 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.5126, allocations: 0.9425 MB / 0.594 GB, free: 15.55 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.003199/0.5158, allocations: 2.577 MB / 0.5965 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.5171, allocations: 370.2 kB / 0.5968 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.5173, allocations: 80.8 kB / 0.5969 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8517/1.369, allocations: 227.4 MB / 0.819 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/1.37, allocations: 478.6 kB / 0.8195 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/1.37, allocations: 0 / 0.8195 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002815/1.373, allocations: 0.784 MB / 0.8202 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/1.373, allocations: 381 kB / 0.8206 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/1.373, allocations: 183 kB / 0.8208 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/1.374, allocations: 29.7 kB / 0.8208 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/1.374, allocations: 185 kB / 0.821 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/1.374, allocations: 110.4 kB / 0.8211 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.374, allocations: 126 kB / 0.8212 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/1.374, allocations: 333.6 kB / 0.8215 GB, free: 107 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/1.374, allocations: 81.06 kB / 0.8216 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/1.374, allocations: 349.7 kB / 0.8219 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/1.375, allocations: 478.2 kB / 0.8224 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.375, allocations: 0 / 0.8224 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007863/1.376, allocations: 473.6 kB / 0.8228 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.376, allocations: 8 kB / 0.8228 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.376, allocations: 13.75 kB / 0.8228 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.376, allocations: 15.84 kB / 0.8229 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/1.376, allocations: 143.8 kB / 0.823 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.376, allocations: 19.88 kB / 0.823 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/1.377, allocations: 51.44 kB / 0.8231 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/1.377, allocations: 47.97 kB / 0.8231 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.0001441/1.377, allocations: 161.6 kB / 0.8233 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/1.377, allocations: 27.8 kB / 0.8233 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/1.379, allocations: 2.582 MB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.379, allocations: 23.97 kB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.379, allocations: 3.938 kB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.379, allocations: 4 kB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/1.38, allocations: 0.9351 MB / 0.8268 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.38, allocations: 8 kB / 0.8268 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/1.38, allocations: 71.88 kB / 0.8268 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.38, allocations: 4 kB / 0.8268 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/1.38, allocations: 18.98 kB / 0.8269 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.38, allocations: 4 kB / 0.8269 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.38, allocations: 7.938 kB / 0.8269 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/1.381, allocations: 0.6928 MB / 0.8275 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/1.381, allocations: 132.3 kB / 0.8277 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.381, allocations: 110.5 kB / 0.8278 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/1.381, allocations: 12 kB / 0.8278 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/1.381, allocations: 39.5 kB / 0.8278 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/1.381, allocations: 16 kB / 0.8278 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004634/1.382, allocations: 0.504 MB / 0.8283 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.382, allocations: 0 / 0.8283 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004209/1.386, allocations: 1.507 MB / 0.8298 GB, free: 98.21 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.005777/1.392, allocations: 1.717 MB / 0.8315 GB, free: 96.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007954/1.392, allocations: 423.5 kB / 0.8319 GB, free: 96.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.393, allocations: 0 / 0.8319 GB, free: 96.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/1.393, allocations: 274.2 kB / 0.8321 GB, free: 95.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/1.394, allocations: 141.8 kB / 0.8323 GB, free: 95.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.477/2.87, allocations: 0.6005 GB / 1.433 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/2.871, allocations: 0.9892 MB / 1.434 GB, free: 200.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/2.871, allocations: 63.41 kB / 1.434 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/2.871, allocations: 0 / 1.434 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.03368/2.904, allocations: 32.77 MB / 1.466 GB, free: 167.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/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