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.0009334/0.0009334, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.0009184/0.0009186, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.409/1.409, allocations: 223.2 MB / 241.8 MB, free: 396 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.2045/0.2045, allocations: 44.23 MB / 337.1 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004522, allocations: 12 kB / 409.5 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 61.9 MB / 471.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01331/0.1458, allocations: 11.79 MB / 483.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02667/0.1725, allocations: 22.42 MB / 0.4938 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.1728, allocations: 4 kB / 0.4938 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.1732, allocations: 67.72 kB / 0.4939 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02506/0.1983, allocations: 6.741 MB / 0.5004 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009281/0.1993, allocations: 307.1 kB / 0.5007 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.204, allocations: 3.042 MB / 0.5037 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.995e-05/0.2041, allocations: 16.41 kB / 0.5037 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.2046, allocations: 283 kB / 0.504 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2534/0.4581, allocations: 5.568 MB / 0.5094 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.4582, allocations: 7.812 kB / 0.5094 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02494/0.4832, allocations: 10.7 MB / 0.5199 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.4834, allocations: 54.61 kB / 0.5199 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.4836, allocations: 73.84 kB / 0.52 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4943, allocations: 4.211 MB / 0.5241 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4943, allocations: 7.344 kB / 0.5241 GB, free: 16.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4943, allocations: 0 / 0.5241 GB, free: 16.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.4943, allocations: 0 / 0.5241 GB, free: 16.15 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.006935/0.5013, allocations: 1.492 MB / 0.5256 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5014, allocations: 10.22 kB / 0.5256 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.5031, allocations: 225.1 kB / 0.5258 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.5035, allocations: 272 kB / 0.5261 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.5036, allocations: 27.34 kB / 0.5261 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.5036, allocations: 32.84 kB / 0.5261 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.5057, allocations: 0.8214 MB / 0.5269 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5057, allocations: 2.656 kB / 0.5269 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.5058, allocations: 13.08 kB / 0.5269 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.5058, allocations: 9.5 kB / 0.5269 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.508, allocations: 0.9476 MB / 0.5279 GB, free: 14.29 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.002923/0.5109, allocations: 2.579 MB / 0.5304 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5122, allocations: 391.2 kB / 0.5308 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.879/1.391, allocations: 227.1 MB / 0.7526 GB, free: 185.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/1.393, allocations: 484.3 kB / 0.753 GB, free: 185 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.354e-06/1.393, allocations: 1.859 kB / 0.753 GB, free: 185 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002735/1.395, allocations: 0.7819 MB / 0.7538 GB, free: 184.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/1.396, allocations: 371.9 kB / 0.7542 GB, free: 183.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/1.396, allocations: 188 kB / 0.7543 GB, free: 183.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/1.396, allocations: 33.7 kB / 0.7544 GB, free: 183.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/1.396, allocations: 182.5 kB / 0.7545 GB, free: 183.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/1.396, allocations: 110.1 kB / 0.7547 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/1.396, allocations: 12 kB / 0.7547 GB, free: 183.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/1.396, allocations: 330.8 kB / 0.755 GB, free: 183 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/1.396, allocations: 81.06 kB / 0.7551 GB, free: 182.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/1.396, allocations: 336.7 kB / 0.7554 GB, free: 182.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/1.397, allocations: 135 kB / 0.7555 GB, free: 182.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.397, allocations: 4 kB / 0.7555 GB, free: 182.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007042/1.397, allocations: 463.7 kB / 0.756 GB, free: 181.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.397, allocations: 8 kB / 0.756 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.397, allocations: 12.81 kB / 0.756 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.398, allocations: 12 kB / 0.756 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/1.398, allocations: 146.2 kB / 0.7561 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/1.398, allocations: 20.55 kB / 0.7561 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/1.398, allocations: 57.3 kB / 0.7562 GB, free: 181.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/1.398, allocations: 43.98 kB / 0.7562 GB, free: 181.6 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.0001418/1.398, allocations: 157.6 kB / 0.7564 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/1.399, allocations: 27.77 kB / 0.7564 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/1.401, allocations: 2.661 MB / 0.759 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.401, allocations: 23.98 kB / 0.759 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.401, allocations: 4.688 kB / 0.759 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.401, allocations: 3.984 kB / 0.759 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/1.402, allocations: 0.9297 MB / 0.76 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/1.402, allocations: 4 kB / 0.76 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/1.402, allocations: 77.61 kB / 0.76 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/1.402, allocations: 7.953 kB / 0.76 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/1.402, allocations: 14.52 kB / 0.7601 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.402, allocations: 7.984 kB / 0.7601 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.402, allocations: 4 kB / 0.7601 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/1.403, allocations: 0.8263 MB / 0.7609 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/1.403, allocations: 386.6 kB / 0.7612 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.403, allocations: 15.83 kB / 0.7613 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/1.404, allocations: 27.98 kB / 0.7613 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/1.404, allocations: 28.72 kB / 0.7613 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/1.404, allocations: 12 kB / 0.7613 GB, free: 176.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00048/1.404, allocations: 0.4962 MB / 0.7618 GB, free: 175.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.404, allocations: 4 kB / 0.7618 GB, free: 175.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006038/1.41, allocations: 1.523 MB / 0.7633 GB, free: 174.3 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.009709/1.42, allocations: 1.725 MB / 0.765 GB, free: 172.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009829/1.421, allocations: 415.2 kB / 0.7654 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.421, allocations: 4 kB / 0.7654 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/1.421, allocations: 272.9 kB / 0.7656 GB, free: 172.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/1.422, allocations: 126.3 kB / 0.7658 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/1.425, allocations: 2.595 MB / 0.7683 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/1.425, allocations: 1.005 MB / 0.7693 GB, free: 168.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006845/1.426, allocations: 0.5234 MB / 0.7698 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/1.426, allocations: 53.48 kB / 0.7698 GB, free: 168 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/1.426, allocations: 4 kB / 0.7698 GB, free: 168 MB / 0.545 GB Notification: Performance of Templates: time 0.05954/1.486, allocations: 56.25 MB / 0.8248 GB, free: 111.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches