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.001115/0.001115, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001188/0.001188, allocations: 192 kB / 18.56 MB, free: 4.434 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.32/1.32, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2128/0.2128, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.02 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01845/0.143, allocations: 13.82 MB / 483.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02659/0.1696, allocations: 26.59 MB / 0.4977 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.1699, allocations: 4 kB / 0.4977 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1703, allocations: 87.39 kB / 0.4978 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2735/0.4439, allocations: 8.525 MB / 0.5061 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008718/0.4448, allocations: 348.6 kB / 0.5065 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004307/0.4491, allocations: 2 MB / 0.5084 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.4492, allocations: 18.45 kB / 0.5084 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.4497, allocations: 261.6 kB / 0.5087 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006886/0.4566, allocations: 3.263 MB / 0.5119 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.4567, allocations: 15.69 kB / 0.5119 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0256/0.4823, allocations: 10.57 MB / 0.5222 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.4825, allocations: 48.31 kB / 0.5223 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.4829, allocations: 141.5 kB / 0.5224 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01921/0.5021, allocations: 6.32 MB / 0.5286 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5022, allocations: 3.984 kB / 0.5286 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.5022, allocations: 0 / 0.5286 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.5022, allocations: 0 / 0.5286 GB, free: 10.29 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.005222/0.5074, allocations: 1.557 MB / 0.5301 GB, free: 9.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5075, allocations: 9.781 kB / 0.5301 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.5091, allocations: 222.3 kB / 0.5303 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.5095, allocations: 278 kB / 0.5306 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.5095, allocations: 28.84 kB / 0.5306 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.5096, allocations: 28.81 kB / 0.5306 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.5117, allocations: 0.8248 MB / 0.5314 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5118, allocations: 6.312 kB / 0.5314 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.5118, allocations: 15.56 kB / 0.5314 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.5118, allocations: 7.219 kB / 0.5315 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.5141, allocations: 0.9385 MB / 0.5324 GB, free: 7.875 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.002919/0.517, allocations: 2.576 MB / 0.5349 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5183, allocations: 385.9 kB / 0.5353 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.5185, allocations: 76.12 kB / 0.5353 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.879/1.397, allocations: 225 MB / 0.755 GB, free: 177 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/1.399, allocations: 470.7 kB / 0.7555 GB, free: 176.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 6.161e-06/1.399, allocations: 0 / 0.7555 GB, free: 176.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003135/1.402, allocations: 0.7815 MB / 0.7562 GB, free: 175.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/1.402, allocations: 369.9 kB / 0.7566 GB, free: 175.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/1.402, allocations: 178.2 kB / 0.7568 GB, free: 175.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/1.403, allocations: 34.05 kB / 0.7568 GB, free: 175.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/1.403, allocations: 194.4 kB / 0.757 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/1.403, allocations: 116.6 kB / 0.7571 GB, free: 174.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/1.403, allocations: 114.1 kB / 0.7572 GB, free: 174.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/1.403, allocations: 334.8 kB / 0.7575 GB, free: 174.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.403, allocations: 83.59 kB / 0.7576 GB, free: 174.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/1.403, allocations: 353.1 kB / 0.7579 GB, free: 173.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/1.404, allocations: 484.6 kB / 0.7584 GB, free: 173.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.404, allocations: 4 kB / 0.7584 GB, free: 173.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008721/1.405, allocations: 467.2 kB / 0.7588 GB, free: 172.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.405, allocations: 12 kB / 0.7589 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.405, allocations: 8.875 kB / 0.7589 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/1.405, allocations: 12 kB / 0.7589 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/1.405, allocations: 150 kB / 0.759 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.405, allocations: 19.92 kB / 0.759 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/1.406, allocations: 51.53 kB / 0.7591 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/1.406, allocations: 39.98 kB / 0.7591 GB, free: 172.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001661/1.406, allocations: 165.6 kB / 0.7593 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/1.406, allocations: 25.58 kB / 0.7593 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/1.408, allocations: 2.611 MB / 0.7619 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.408, allocations: 19.98 kB / 0.7619 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.408, allocations: 4 kB / 0.7619 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.408, allocations: 8.5 kB / 0.7619 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/1.409, allocations: 0.9299 MB / 0.7628 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.409, allocations: 0 / 0.7628 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.41, allocations: 79.86 kB / 0.7629 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.41, allocations: 4 kB / 0.7629 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.41, allocations: 12 kB / 0.7629 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/1.41, allocations: 15.77 kB / 0.7629 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.41, allocations: 4 kB / 0.7629 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/1.411, allocations: 0.6927 MB / 0.7636 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/1.411, allocations: 134.6 kB / 0.7637 GB, free: 167.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.411, allocations: 107.1 kB / 0.7638 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/1.411, allocations: 15.98 kB / 0.7638 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/1.411, allocations: 39.7 kB / 0.7639 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.411, allocations: 19.98 kB / 0.7639 GB, free: 167.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006635/1.412, allocations: 0.5001 MB / 0.7644 GB, free: 167 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/1.412, allocations: 0 / 0.7644 GB, free: 167 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006291/1.418, allocations: 1.508 MB / 0.7658 GB, free: 165.6 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 (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.008902/1.427, allocations: 1.713 MB / 0.7675 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.428, allocations: 439.2 kB / 0.7679 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.428, allocations: 1.875 kB / 0.7679 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/1.429, allocations: 279.5 kB / 0.7682 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/1.429, allocations: 131.8 kB / 0.7683 GB, free: 163.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.408/2.837, allocations: 0.6004 GB / 1.369 GB, free: 131 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/2.837, allocations: 0.9902 MB / 1.37 GB, free: 130 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007032/2.838, allocations: 0.5227 MB / 1.37 GB, free: 129.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/2.838, allocations: 59.41 kB / 1.37 GB, free: 129.4 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/2.838, allocations: 0 / 1.37 GB, free: 129.4 MB / 0.545 GB Notification: Performance of Templates: time 0.05446/2.893, allocations: 55.82 MB / 1.425 GB, free: 73.61 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