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.001045/0.001044, allocations: 97.75 kB / 17 MB, free: 6.07 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.001326/0.001326, allocations: 177.8 kB / 17.89 MB, free: 5.672 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.439/1.439, allocations: 223.2 MB / 241.9 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 13.53 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01468/0.1531, allocations: 12.79 MB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02749/0.1807, allocations: 24.6 MB / 0.4971 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.181, allocations: 4 kB / 0.4971 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1813, allocations: 75.53 kB / 0.4971 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02223/0.2035, allocations: 6.578 MB / 0.5036 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.2045, allocations: 302.5 kB / 0.5039 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2738/0.4783, allocations: 3.192 MB / 0.507 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.4784, allocations: 20.38 kB / 0.507 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.4791, allocations: 255.1 kB / 0.5072 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.4893, allocations: 5.67 MB / 0.5128 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.215e-05/0.4894, allocations: 12.72 kB / 0.5128 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01972/0.5092, allocations: 10.37 MB / 0.5229 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.5093, allocations: 45.12 kB / 0.523 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.5096, allocations: 75.67 kB / 0.523 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.5197, allocations: 4.225 MB / 0.5271 GB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.5198, allocations: 0 / 0.5271 GB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5198, allocations: 2.625 kB / 0.5272 GB, free: 14.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.5198, allocations: 0 / 0.5272 GB, free: 14.9 MB / 382.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.005985/0.5258, allocations: 1.487 MB / 0.5286 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5258, allocations: 6.531 kB / 0.5286 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.5274, allocations: 230 kB / 0.5288 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.5278, allocations: 275.7 kB / 0.5291 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.5278, allocations: 20.12 kB / 0.5291 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.5279, allocations: 34.16 kB / 0.5291 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.5299, allocations: 0.8208 MB / 0.5299 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.53, allocations: 0 / 0.5299 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.53, allocations: 19.2 kB / 0.53 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.53, allocations: 9.781 kB / 0.53 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.5322, allocations: 0.9435 MB / 0.5309 GB, free: 13.04 MB / 382.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.002679/0.5349, allocations: 2.588 MB / 0.5334 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.5361, allocations: 383 kB / 0.5338 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5363, allocations: 82.27 kB / 0.5339 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8333/1.37, allocations: 227.1 MB / 0.7557 GB, free: 182.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/1.371, allocations: 476.2 kB / 0.7561 GB, free: 181.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.527e-06/1.371, allocations: 7 kB / 0.7561 GB, free: 181.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002658/1.374, allocations: 0.7809 MB / 0.7569 GB, free: 180.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/1.374, allocations: 376.1 kB / 0.7572 GB, free: 180.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.374, allocations: 180.8 kB / 0.7574 GB, free: 180.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/1.374, allocations: 33.7 kB / 0.7574 GB, free: 180.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/1.374, allocations: 180 kB / 0.7576 GB, free: 180.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/1.374, allocations: 117.9 kB / 0.7577 GB, free: 180 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/1.374, allocations: 8 kB / 0.7577 GB, free: 180 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/1.374, allocations: 334.8 kB / 0.7581 GB, free: 179.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/1.374, allocations: 77.06 kB / 0.7581 GB, free: 179.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/1.375, allocations: 344.5 kB / 0.7585 GB, free: 179.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/1.375, allocations: 131.8 kB / 0.7586 GB, free: 179 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.375, allocations: 4 kB / 0.7586 GB, free: 179 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007302/1.376, allocations: 465.6 kB / 0.759 GB, free: 178.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.376, allocations: 8 kB / 0.759 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.376, allocations: 16.81 kB / 0.7591 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/1.376, allocations: 13.89 kB / 0.7591 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/1.376, allocations: 139.8 kB / 0.7592 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/1.376, allocations: 19.92 kB / 0.7592 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/1.377, allocations: 54.48 kB / 0.7593 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/1.377, allocations: 43.98 kB / 0.7593 GB, free: 178.2 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/1.377, allocations: 165.6 kB / 0.7595 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/1.377, allocations: 25.59 kB / 0.7595 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.379, allocations: 2.659 MB / 0.7621 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.379, allocations: 15.98 kB / 0.7621 GB, free: 175.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.38, allocations: 4.812 kB / 0.7621 GB, free: 175.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.38, allocations: 7.984 kB / 0.7621 GB, free: 175.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/1.38, allocations: 0.9306 MB / 0.763 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.38, allocations: 4 kB / 0.763 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/1.381, allocations: 80.17 kB / 0.7631 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.381, allocations: 9.188 kB / 0.7631 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.381, allocations: 12 kB / 0.7631 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.381, allocations: 7.984 kB / 0.7631 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.381, allocations: 4 kB / 0.7631 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/1.382, allocations: 0.6911 MB / 0.7638 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/1.382, allocations: 386.6 kB / 0.7642 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.382, allocations: 8 kB / 0.7642 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/1.382, allocations: 23.83 kB / 0.7642 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/1.382, allocations: 36.5 kB / 0.7643 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/1.382, allocations: 24.83 kB / 0.7643 GB, free: 173 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004993/1.383, allocations: 0.4922 MB / 0.7648 GB, free: 172.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.383, allocations: 0 / 0.7648 GB, free: 172.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005768/1.389, allocations: 1.522 MB / 0.7662 GB, free: 171.1 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008019/1.397, allocations: 1.719 MB / 0.7679 GB, free: 169.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007557/1.398, allocations: 424 kB / 0.7683 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.398, allocations: 0 / 0.7683 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/1.398, allocations: 272.7 kB / 0.7686 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/1.399, allocations: 130.7 kB / 0.7687 GB, free: 168.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.591/2.989, allocations: 0.6001 GB / 1.369 GB, free: 136.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/2.99, allocations: 0.9858 MB / 1.37 GB, free: 135.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008167/2.991, allocations: 0.5298 MB / 1.37 GB, free: 135.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/2.991, allocations: 55.41 kB / 1.37 GB, free: 135.4 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/2.991, allocations: 0 / 1.37 GB, free: 135.4 MB / 0.545 GB Notification: Performance of Templates: time 0.06101/3.052, allocations: 56.25 MB / 1.425 GB, free: 79.13 MB / 0.545 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