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.001238/0.001238, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001193/0.001193, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.275/1.275, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2026/0.2026, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3733, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01692/0.3903, allocations: 13.81 MB / 0.5331 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03182/0.4221, allocations: 26.6 MB / 0.5591 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.4225, allocations: 0 / 0.5591 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.423, allocations: 91.39 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0309/0.4539, allocations: 8.527 MB / 0.5675 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.4551, allocations: 350.2 kB / 0.5678 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00467/0.4598, allocations: 2.01 MB / 0.5698 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.4599, allocations: 16.41 kB / 0.5698 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.4606, allocations: 266.8 kB / 0.5701 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006548/0.4671, allocations: 3.262 MB / 0.5732 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.4672, allocations: 15.94 kB / 0.5733 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02353/0.4908, allocations: 10.81 MB / 0.5838 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.4909, allocations: 55.69 kB / 0.5839 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.4912, allocations: 135.4 kB / 0.584 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01799/0.5092, allocations: 6.312 MB / 0.5902 GB, free: 3.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.5092, allocations: 0 / 0.5902 GB, free: 3.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5092, allocations: 0 / 0.5902 GB, free: 3.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.5092, allocations: 0 / 0.5902 GB, free: 3.594 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.004914/0.5142, allocations: 1.564 MB / 0.5917 GB, free: 1.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5142, allocations: 8.031 kB / 0.5917 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.516, allocations: 224.4 kB / 0.5919 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.5164, allocations: 271.9 kB / 0.5922 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.5165, allocations: 25.03 kB / 0.5922 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.5166, allocations: 36.12 kB / 0.5922 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.519, allocations: 0.8172 MB / 0.593 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.519, allocations: 7.938 kB / 0.593 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.5191, allocations: 12 kB / 0.5931 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.5191, allocations: 8 kB / 0.5931 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.5216, allocations: 0.9387 MB / 0.594 GB, free: 15.56 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.003335/0.5249, allocations: 2.573 MB / 0.5965 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.5264, allocations: 377.1 kB / 0.5968 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.5265, allocations: 80.8 kB / 0.5969 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9044/1.431, allocations: 227.4 MB / 0.819 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/1.432, allocations: 476 kB / 0.8195 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/1.432, allocations: 0 / 0.8195 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002797/1.435, allocations: 0.7825 MB / 0.8202 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/1.435, allocations: 383.8 kB / 0.8206 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/1.435, allocations: 182.2 kB / 0.8208 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/1.435, allocations: 33.7 kB / 0.8208 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/1.436, allocations: 177.4 kB / 0.821 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/1.436, allocations: 114.3 kB / 0.8211 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/1.436, allocations: 126 kB / 0.8212 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/1.436, allocations: 329.6 kB / 0.8215 GB, free: 107 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/1.436, allocations: 93.05 kB / 0.8216 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/1.436, allocations: 341.7 kB / 0.8219 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/1.437, allocations: 478.2 kB / 0.8224 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.437, allocations: 4 kB / 0.8224 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008026/1.438, allocations: 468.9 kB / 0.8228 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.438, allocations: 8 kB / 0.8228 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.438, allocations: 15.94 kB / 0.8228 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/1.438, allocations: 12 kB / 0.8229 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/1.438, allocations: 139.8 kB / 0.823 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/1.438, allocations: 23.86 kB / 0.823 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/1.439, allocations: 51.44 kB / 0.8231 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/1.439, 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.0001613/1.439, allocations: 161.8 kB / 0.8233 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/1.439, allocations: 23.81 kB / 0.8233 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/1.441, allocations: 2.588 MB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.441, allocations: 15.98 kB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.441, allocations: 8.812 kB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.441, allocations: 8.359 kB / 0.8258 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/1.442, allocations: 0.9375 MB / 0.8268 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.442, allocations: 7.844 kB / 0.8268 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/1.442, allocations: 71.88 kB / 0.8268 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.442, allocations: 4 kB / 0.8268 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/1.442, allocations: 19.05 kB / 0.8269 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/1.442, allocations: 4 kB / 0.8269 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.442, allocations: 11.88 kB / 0.8269 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/1.443, allocations: 0.6928 MB / 0.8276 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/1.443, allocations: 132.4 kB / 0.8277 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.443, allocations: 102.5 kB / 0.8278 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/1.444, allocations: 15.98 kB / 0.8278 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/1.444, allocations: 35.91 kB / 0.8278 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/1.444, allocations: 19.98 kB / 0.8278 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004657/1.444, allocations: 0.504 MB / 0.8283 GB, free: 99.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.444, allocations: 0 / 0.8283 GB, free: 99.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004158/1.448, allocations: 1.498 MB / 0.8298 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.005116/1.453, allocations: 1.727 MB / 0.8315 GB, free: 96.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006722/1.454, allocations: 415.6 kB / 0.8319 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.454, allocations: 0 / 0.8319 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/1.454, allocations: 278.1 kB / 0.8321 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.0007663/1.455, allocations: 135.3 kB / 0.8323 GB, free: 95.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.491/2.947, allocations: 0.6005 GB / 1.433 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/2.947, allocations: 0.9856 MB / 1.434 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/2.947, allocations: 59.41 kB / 1.434 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/2.947, allocations: 0 / 1.434 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.03432/2.982, 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