Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001078/0.001078, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 173.6 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 222.8 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4454/0.4454, allocations: 43.56 MB / 314.6 MB, free: 8.621 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004947, allocations: 12 kB / 384 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1489, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01541/0.1644, allocations: 12.8 MB / 455.6 MB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3001/0.4645, allocations: 24.6 MB / 480.2 MB, free: 28.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.4648, allocations: 3.344 kB / 480.2 MB, free: 28.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.4652, allocations: 72.58 kB / 480.3 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02048/0.4857, allocations: 6.554 MB / 486.9 MB, free: 25.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.4867, allocations: 307.9 kB / 487.2 MB, free: 25.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005092/0.4918, allocations: 3.202 MB / 490.4 MB, free: 25.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.4919, allocations: 22.22 kB / 490.4 MB, free: 25.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.4925, allocations: 252.5 kB / 490.6 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009874/0.5023, allocations: 5.668 MB / 496.3 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.5025, allocations: 8.219 kB / 496.3 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03162/0.5341, allocations: 10.35 MB / 0.4948 GB, free: 22.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.5343, allocations: 49.16 kB / 0.4948 GB, free: 22.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.5345, allocations: 76.02 kB / 0.4949 GB, free: 22.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.5464, allocations: 4.216 MB / 0.499 GB, free: 20.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.5465, allocations: 1.25 kB / 0.499 GB, free: 20.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5465, allocations: 0 / 0.499 GB, free: 20.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.5465, allocations: 0 / 0.499 GB, free: 20.48 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.00692/0.5534, allocations: 1.487 MB / 0.5005 GB, free: 19.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5535, allocations: 12.88 kB / 0.5005 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.5552, allocations: 231.2 kB / 0.5007 GB, free: 19.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.5556, allocations: 269.2 kB / 0.501 GB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.5556, allocations: 26.22 kB / 0.501 GB, free: 19.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.5557, allocations: 27.72 kB / 0.501 GB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.5579, allocations: 0.8283 MB / 0.5018 GB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5579, allocations: 3.984 kB / 0.5018 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.558, allocations: 15.22 kB / 0.5018 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.558, allocations: 11.86 kB / 0.5018 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.5603, allocations: 0.9455 MB / 0.5028 GB, free: 18.06 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.002958/0.5632, allocations: 2.594 MB / 0.5053 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5645, allocations: 376.8 kB / 0.5057 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.5647, allocations: 76.91 kB / 0.5057 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8916/1.456, allocations: 227.1 MB / 0.7275 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/1.458, allocations: 464.7 kB / 0.7279 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.166e-06/1.458, allocations: 0 / 0.7279 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003079/1.461, allocations: 0.7805 MB / 0.7287 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.461, allocations: 374.3 kB / 0.7291 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.461, allocations: 175.5 kB / 0.7292 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/1.461, allocations: 33.7 kB / 0.7293 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/1.462, allocations: 190.6 kB / 0.7294 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/1.462, allocations: 114.8 kB / 0.7296 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/1.462, allocations: 16.06 kB / 0.7296 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/1.462, allocations: 326.8 kB / 0.7299 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/1.462, allocations: 77.06 kB / 0.73 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.462, allocations: 341.1 kB / 0.7303 GB, free: 99.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/1.463, allocations: 136.7 kB / 0.7304 GB, free: 99.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.463, allocations: 4 kB / 0.7304 GB, free: 99.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007704/1.463, allocations: 463.2 kB / 0.7309 GB, free: 99.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.463, allocations: 8 kB / 0.7309 GB, free: 99.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.463, allocations: 8 kB / 0.7309 GB, free: 99.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/1.464, allocations: 18.75 kB / 0.7309 GB, free: 99.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/1.464, allocations: 144.5 kB / 0.731 GB, free: 98.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/1.464, allocations: 19.92 kB / 0.731 GB, free: 98.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/1.464, allocations: 53.31 kB / 0.7311 GB, free: 98.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/1.464, allocations: 44.55 kB / 0.7311 GB, free: 98.87 MB / 0.4981 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.0001858/1.465, allocations: 161.6 kB / 0.7313 GB, free: 98.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/1.465, allocations: 27.67 kB / 0.7313 GB, free: 98.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/1.467, allocations: 2.663 MB / 0.7339 GB, free: 96.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/1.467, allocations: 15.98 kB / 0.7339 GB, free: 96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.467, allocations: 4.5 kB / 0.7339 GB, free: 95.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.467, allocations: 7.984 kB / 0.7339 GB, free: 95.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.468, allocations: 0.9213 MB / 0.7348 GB, free: 95.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/1.468, allocations: 4.375 kB / 0.7348 GB, free: 95.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/1.469, allocations: 84.86 kB / 0.7349 GB, free: 94.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.469, allocations: 7.953 kB / 0.7349 GB, free: 94.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.469, allocations: 19.78 kB / 0.735 GB, free: 94.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/1.469, allocations: 7.984 kB / 0.735 GB, free: 94.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.469, allocations: 4 kB / 0.735 GB, free: 94.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/1.47, allocations: 0.6959 MB / 0.7356 GB, free: 94.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/1.47, allocations: 382.8 kB / 0.736 GB, free: 93.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.47, allocations: 14.77 kB / 0.736 GB, free: 93.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/1.47, allocations: 23.89 kB / 0.736 GB, free: 93.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/1.47, allocations: 35.89 kB / 0.7361 GB, free: 93.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.47, allocations: 16 kB / 0.7361 GB, free: 93.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005278/1.471, allocations: 0.4962 MB / 0.7366 GB, free: 93.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.471, allocations: 0 / 0.7366 GB, free: 93.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008603/1.48, allocations: 1.517 MB / 0.7381 GB, free: 91.78 MB / 0.4981 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.01312/1.493, allocations: 1.711 MB / 0.7397 GB, free: 90.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.494, allocations: 409.8 kB / 0.7401 GB, free: 89.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.494, allocations: 0 / 0.7401 GB, free: 89.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003981/1.494, allocations: 282.1 kB / 0.7404 GB, free: 89.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/1.495, allocations: 131.7 kB / 0.7405 GB, free: 89.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.616/3.111, allocations: 0.5996 GB / 1.34 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/3.112, allocations: 0.9858 MB / 1.341 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008405/3.112, allocations: 0.518 MB / 1.342 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/3.113, allocations: 59.41 kB / 1.342 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/3.113, allocations: 0 / 1.342 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.3487/3.461, allocations: 56.2 MB / 1.397 GB, free: 155 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches