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.001096/0.001096, allocations: 109.6 kB / 17.32 MB, free: 6.031 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.001224/0.001224, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.437/1.437, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.219/0.219, allocations: 44.17 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.41 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01655/0.1584, allocations: 13.93 MB / 482.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03/0.1885, allocations: 26.68 MB / 0.4974 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.1888, allocations: 3.938 kB / 0.4974 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.1894, allocations: 83.58 kB / 0.4975 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3137/0.503, allocations: 7.522 MB / 0.5048 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.5043, allocations: 326 kB / 0.5051 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005592/0.5099, allocations: 2.004 MB / 0.5071 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.5101, allocations: 19.84 kB / 0.5071 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008508/0.5109, allocations: 269.2 kB / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007827/0.5188, allocations: 3.266 MB / 0.5106 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.5189, allocations: 11.06 kB / 0.5106 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02685/0.5458, allocations: 10.68 MB / 0.521 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.546, allocations: 50.05 kB / 0.521 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.5465, allocations: 144.2 kB / 0.5212 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02272/0.5692, allocations: 6.35 MB / 0.5274 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.5693, allocations: 0 / 0.5274 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5693, allocations: 6.469 kB / 0.5274 GB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.5693, allocations: 0 / 0.5274 GB, free: 10.97 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.006906/0.5762, allocations: 1.556 MB / 0.5289 GB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.5763, allocations: 10.16 kB / 0.5289 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.578, allocations: 218.8 kB / 0.5291 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.5783, allocations: 275.2 kB / 0.5294 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.5783, allocations: 27.22 kB / 0.5294 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.5784, allocations: 27.75 kB / 0.5294 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.5807, allocations: 0.8225 MB / 0.5302 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5807, allocations: 2.531 kB / 0.5302 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.5808, allocations: 21.56 kB / 0.5303 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5808, allocations: 6.375 kB / 0.5303 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.5832, allocations: 0.9305 MB / 0.5312 GB, free: 8.82 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.003055/0.5862, allocations: 2.589 MB / 0.5337 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5876, allocations: 378.5 kB / 0.5341 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.5877, allocations: 78.38 kB / 0.5341 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8402/1.428, allocations: 225 MB / 0.7538 GB, free: 152.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/1.429, allocations: 481.3 kB / 0.7543 GB, free: 152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.006e-06/1.429, allocations: 0 / 0.7543 GB, free: 152 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003045/1.433, allocations: 0.7857 MB / 0.7551 GB, free: 151.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/1.433, allocations: 375.2 kB / 0.7554 GB, free: 150.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/1.433, allocations: 174.9 kB / 0.7556 GB, free: 150.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/1.433, allocations: 33.64 kB / 0.7556 GB, free: 150.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/1.433, allocations: 192 kB / 0.7558 GB, free: 150.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/1.433, allocations: 112.1 kB / 0.7559 GB, free: 150.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/1.433, allocations: 126.8 kB / 0.756 GB, free: 150.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/1.433, allocations: 333.5 kB / 0.7563 GB, free: 150.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/1.433, allocations: 82.06 kB / 0.7564 GB, free: 150 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/1.434, allocations: 343.7 kB / 0.7568 GB, free: 149.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/1.434, allocations: 484.3 kB / 0.7572 GB, free: 149.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.434, allocations: 0 / 0.7572 GB, free: 149.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008216/1.435, allocations: 478.9 kB / 0.7577 GB, free: 148.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.435, allocations: 8 kB / 0.7577 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.435, allocations: 9.969 kB / 0.7577 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.435, allocations: 13.97 kB / 0.7577 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/1.436, allocations: 138.2 kB / 0.7578 GB, free: 148.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.436, allocations: 15.47 kB / 0.7578 GB, free: 148.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/1.436, allocations: 51.25 kB / 0.7579 GB, free: 148.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/1.436, allocations: 51.88 kB / 0.7579 GB, free: 148.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.0001537/1.436, allocations: 167.7 kB / 0.7581 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/1.436, allocations: 27.8 kB / 0.7581 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.438, allocations: 2.595 MB / 0.7607 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.438, allocations: 26.97 kB / 0.7607 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.438, allocations: 4.656 kB / 0.7607 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.438, allocations: 0 / 0.7607 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/1.439, allocations: 0.9361 MB / 0.7616 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.439, allocations: 4.375 kB / 0.7616 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/1.44, allocations: 78.08 kB / 0.7617 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.44, allocations: 4 kB / 0.7617 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/1.44, allocations: 15.94 kB / 0.7617 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.44, allocations: 7.562 kB / 0.7617 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.44, allocations: 4 kB / 0.7617 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/1.44, allocations: 0.7052 MB / 0.7624 GB, free: 145.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/1.44, allocations: 129.5 kB / 0.7625 GB, free: 145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.441, allocations: 102 kB / 0.7626 GB, free: 144.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/1.441, allocations: 21.77 kB / 0.7627 GB, free: 144.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/1.441, allocations: 42.28 kB / 0.7627 GB, free: 144.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.441, allocations: 15 kB / 0.7627 GB, free: 144.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000481/1.441, allocations: 0.5042 MB / 0.7632 GB, free: 144.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/1.441, allocations: 0 / 0.7632 GB, free: 144.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005145/1.447, allocations: 1.502 MB / 0.7647 GB, free: 143.2 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.006843/1.453, allocations: 1.723 MB / 0.7663 GB, free: 141.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.455, allocations: 434.9 kB / 0.7668 GB, free: 141.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.455, allocations: 4 kB / 0.7668 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/1.455, allocations: 276 kB / 0.767 GB, free: 141.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/1.456, allocations: 131.8 kB / 0.7672 GB, free: 141.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.388/2.844, allocations: 0.6007 GB / 1.368 GB, free: 138.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/2.844, allocations: 0.9895 MB / 1.369 GB, free: 137.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007594/2.845, allocations: 0.522 MB / 1.369 GB, free: 137.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/2.845, allocations: 51.41 kB / 1.369 GB, free: 137.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/2.845, allocations: 0 / 1.369 GB, free: 137.4 MB / 0.545 GB Notification: Performance of Templates: time 0.05645/2.901, allocations: 55.87 MB / 1.424 GB, free: 81.57 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