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.001132/0.001133, allocations: 96.14 kB / 15.87 MB, free: 16 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.001599/0.0016, allocations: 206.3 kB / 16.79 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.653/1.653, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.3893/0.3893, allocations: 43.49 MB / 313.5 MB, free: 8.523 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.00144/0.001441, allocations: 63.91 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1558, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02031/0.1762, allocations: 14.64 MB / 454.5 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3291/0.5053, allocations: 28.29 MB / 482.8 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.5057, allocations: 3.188 kB / 482.8 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.5063, allocations: 84.16 kB / 482.8 MB, free: 26.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0259/0.5322, allocations: 6.815 MB / 489.7 MB, free: 22.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.5332, allocations: 322.3 kB / 490 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.5373, allocations: 2.032 MB / 492 MB, free: 21.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.5374, allocations: 21.38 kB / 492 MB, free: 21.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.5379, allocations: 273.2 kB / 492.3 MB, free: 21.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006385/0.5443, allocations: 3.268 MB / 495.6 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.5444, allocations: 9.188 kB / 495.6 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02817/0.5725, allocations: 10.71 MB / 0.4944 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.5727, allocations: 54.78 kB / 0.4945 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.5731, allocations: 140 kB / 0.4946 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03131/0.6044, allocations: 6.329 MB / 0.5008 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.6045, allocations: 1.281 kB / 0.5008 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6045, allocations: 0 / 0.5008 GB, free: 14.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.6045, allocations: 0 / 0.5008 GB, free: 14.17 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.007683/0.6122, allocations: 1.559 MB / 0.5023 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.6123, allocations: 8.438 kB / 0.5023 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.6141, allocations: 218.8 kB / 0.5025 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.6145, allocations: 273.4 kB / 0.5028 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.6145, allocations: 25.72 kB / 0.5028 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.6146, allocations: 32.03 kB / 0.5028 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.617, allocations: 0.8257 MB / 0.5036 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.617, allocations: 3.938 kB / 0.5036 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.617, allocations: 21.11 kB / 0.5037 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.6171, allocations: 7.625 kB / 0.5037 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.6195, allocations: 0.9311 MB / 0.5046 GB, free: 11.71 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.003272/0.6228, allocations: 2.58 MB / 0.5071 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.6243, allocations: 387.5 kB / 0.5075 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.6244, allocations: 82.05 kB / 0.5076 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9173/1.542, allocations: 224.9 MB / 0.7272 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/1.544, allocations: 477.3 kB / 0.7276 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 6.683e-06/1.544, allocations: 0 / 0.7276 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003437/1.547, allocations: 0.7778 MB / 0.7284 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.547, allocations: 379.2 kB / 0.7288 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/1.547, allocations: 190.3 kB / 0.7289 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/1.547, allocations: 33.7 kB / 0.729 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/1.548, allocations: 185 kB / 0.7292 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/1.548, allocations: 109.9 kB / 0.7293 GB, free: 99.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/1.548, allocations: 130.1 kB / 0.7294 GB, free: 99.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/1.548, allocations: 329.6 kB / 0.7297 GB, free: 99.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/1.548, allocations: 81.06 kB / 0.7298 GB, free: 99.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/1.548, allocations: 341.1 kB / 0.7301 GB, free: 98.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/1.549, allocations: 486.8 kB / 0.7306 GB, free: 98.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.549, allocations: 0 / 0.7306 GB, free: 98.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008808/1.55, allocations: 479.1 kB / 0.731 GB, free: 97.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.55, allocations: 8 kB / 0.731 GB, free: 97.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.55, allocations: 9.75 kB / 0.731 GB, free: 97.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.55, allocations: 12 kB / 0.7311 GB, free: 97.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/1.55, allocations: 140.4 kB / 0.7312 GB, free: 97.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.55, allocations: 19.64 kB / 0.7312 GB, free: 97.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/1.551, allocations: 64.03 kB / 0.7313 GB, free: 97.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/1.551, allocations: 43.98 kB / 0.7313 GB, free: 97.72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001744/1.551, allocations: 156.4 kB / 0.7315 GB, free: 97.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/1.551, allocations: 31.72 kB / 0.7315 GB, free: 97.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.554, allocations: 2.606 MB / 0.734 GB, free: 94.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/1.554, allocations: 16.69 kB / 0.734 GB, free: 94.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.554, allocations: 4.375 kB / 0.7341 GB, free: 94.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.554, allocations: 15.92 kB / 0.7341 GB, free: 94.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00084/1.554, allocations: 0.9279 MB / 0.735 GB, free: 93.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.554, allocations: 3.125 kB / 0.735 GB, free: 93.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/1.555, allocations: 77.27 kB / 0.735 GB, free: 93.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.555, allocations: 4 kB / 0.7351 GB, free: 93.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/1.555, allocations: 12 kB / 0.7351 GB, free: 93.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.555, allocations: 15.05 kB / 0.7351 GB, free: 93.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.555, allocations: 4 kB / 0.7351 GB, free: 93.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/1.556, allocations: 0.6988 MB / 0.7358 GB, free: 93.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.556, allocations: 130.3 kB / 0.7359 GB, free: 92.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/1.556, allocations: 106.6 kB / 0.736 GB, free: 92.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/1.556, allocations: 19.89 kB / 0.736 GB, free: 92.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/1.556, allocations: 39.19 kB / 0.736 GB, free: 92.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/1.556, allocations: 19.98 kB / 0.7361 GB, free: 92.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005353/1.557, allocations: 0.4929 MB / 0.7365 GB, free: 92.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.557, allocations: 0 / 0.7365 GB, free: 92.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006586/1.564, allocations: 1.502 MB / 0.738 GB, free: 90.9 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 (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.01097/1.575, allocations: 1.725 MB / 0.7397 GB, free: 89.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009642/1.576, allocations: 408.4 kB / 0.7401 GB, free: 88.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.576, allocations: 1.875 kB / 0.7401 GB, free: 88.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/1.576, allocations: 279.4 kB / 0.7404 GB, free: 88.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/1.577, allocations: 139.1 kB / 0.7405 GB, free: 88.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.604/3.181, allocations: 0.6002 GB / 1.341 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/3.181, allocations: 0.9855 MB / 1.342 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000762/3.182, allocations: 0.517 MB / 1.342 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/3.182, allocations: 63.39 kB / 1.342 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of SimCode: time 2.154e-06/3.182, allocations: 0 / 1.342 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.318/3.5, allocations: 55.47 MB / 1.396 GB, free: 157 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