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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.000954, allocations: 103.6 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3588/0.3588, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 59.91 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4138, allocations: 60.8 MB / 0.5064 GB, free: 38.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01556/0.4294, allocations: 14.63 MB / 0.5207 GB, free: 28.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02596/0.4555, allocations: 28.31 MB / 0.5483 GB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.4558, allocations: 0 / 0.5483 GB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.4563, allocations: 85.23 kB / 0.5484 GB, free: 8.449 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02346/0.4798, allocations: 6.839 MB / 0.5551 GB, free: 5.309 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.4809, allocations: 318.2 kB / 0.5554 GB, free: 5.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.486, allocations: 2.038 MB / 0.5574 GB, free: 4.215 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.4861, allocations: 16.91 kB / 0.5574 GB, free: 4.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.4867, allocations: 268.2 kB / 0.5576 GB, free: 4.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00704/0.4937, allocations: 3.271 MB / 0.5608 GB, free: 2.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.4938, allocations: 7.812 kB / 0.5609 GB, free: 2.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/0.5162, allocations: 10.72 MB / 0.5713 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.5164, allocations: 47.75 kB / 0.5714 GB, free: 13.47 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.5167, allocations: 139.4 kB / 0.5715 GB, free: 13.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.536, allocations: 6.339 MB / 0.5777 GB, free: 6.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.536, allocations: 0 / 0.5777 GB, free: 6.984 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5361, allocations: 4 kB / 0.5777 GB, free: 6.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.5361, allocations: 0 / 0.5777 GB, free: 6.98 MB / 394.7 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.00544/0.5415, allocations: 1.564 MB / 0.5792 GB, free: 5.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5416, allocations: 15.97 kB / 0.5792 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.5433, allocations: 216.4 kB / 0.5794 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.5437, allocations: 276 kB / 0.5797 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.5438, allocations: 24.97 kB / 0.5797 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.5439, allocations: 36.12 kB / 0.5798 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.5462, allocations: 0.8211 MB / 0.5806 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5462, allocations: 0 / 0.5806 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.5463, allocations: 16 kB / 0.5806 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5463, allocations: 8 kB / 0.5806 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5487, allocations: 0.9347 MB / 0.5815 GB, free: 2.949 MB / 394.7 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.003232/0.5519, allocations: 2.589 MB / 0.584 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.5532, allocations: 378.3 kB / 0.5844 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.5534, allocations: 81.34 kB / 0.5845 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8269/1.38, allocations: 225 MB / 0.8042 GB, free: 55.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/1.382, allocations: 474.5 kB / 0.8046 GB, free: 55.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/1.382, allocations: 0 / 0.8046 GB, free: 55.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002605/1.384, allocations: 0.7848 MB / 0.8054 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/1.384, allocations: 371.8 kB / 0.8057 GB, free: 54.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.384, allocations: 184.2 kB / 0.8059 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/1.384, allocations: 37.69 kB / 0.8059 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/1.385, allocations: 183.6 kB / 0.8061 GB, free: 53.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/1.385, allocations: 122 kB / 0.8062 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.385, allocations: 122.1 kB / 0.8063 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/1.385, allocations: 328.3 kB / 0.8067 GB, free: 53.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.385, allocations: 84.91 kB / 0.8067 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/1.385, allocations: 348.5 kB / 0.8071 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/1.386, allocations: 479.3 kB / 0.8075 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.386, allocations: 4 kB / 0.8075 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000773/1.387, allocations: 482.1 kB / 0.808 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.387, allocations: 11.94 kB / 0.808 GB, free: 51.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.387, allocations: 12 kB / 0.808 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.387, allocations: 12 kB / 0.808 GB, free: 51.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/1.387, allocations: 140.5 kB / 0.8082 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.387, allocations: 23.92 kB / 0.8082 GB, free: 51.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/1.387, allocations: 51.5 kB / 0.8082 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/1.387, allocations: 39.98 kB / 0.8083 GB, free: 51.28 MB / 0.4948 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.0001362/1.388, allocations: 169.5 kB / 0.8084 GB, free: 51.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/1.388, allocations: 27.69 kB / 0.8085 GB, free: 51.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/1.39, allocations: 2.605 MB / 0.811 GB, free: 48.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.39, allocations: 16.36 kB / 0.811 GB, free: 48.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.39, allocations: 8 kB / 0.811 GB, free: 48.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.39, allocations: 7.984 kB / 0.811 GB, free: 48.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/1.39, allocations: 0.929 MB / 0.8119 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.39, allocations: 0 / 0.8119 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/1.391, allocations: 79.86 kB / 0.812 GB, free: 47.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.391, allocations: 7.938 kB / 0.812 GB, free: 47.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.391, allocations: 12 kB / 0.812 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.391, allocations: 7.984 kB / 0.812 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.391, allocations: 7.938 kB / 0.8121 GB, free: 47.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/1.392, allocations: 1.687 MB / 0.8137 GB, free: 45.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/1.393, allocations: 124.5 kB / 0.8138 GB, free: 45.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.393, allocations: 106.6 kB / 0.8139 GB, free: 45.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/1.393, allocations: 23.98 kB / 0.8139 GB, free: 45.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/1.393, allocations: 35.84 kB / 0.814 GB, free: 45.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/1.393, allocations: 12 kB / 0.814 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000484/1.394, allocations: 0.5001 MB / 0.8145 GB, free: 44.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/1.394, allocations: 0 / 0.8145 GB, free: 44.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003949/1.398, allocations: 1.543 MB / 0.816 GB, free: 43.31 MB / 0.4948 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.006286/1.404, allocations: 1.723 MB / 0.8177 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007572/1.405, allocations: 430 kB / 0.8181 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.405, allocations: 4.219 kB / 0.8181 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/1.405, allocations: 276.7 kB / 0.8183 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/1.406, allocations: 128.1 kB / 0.8185 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.418/2.823, allocations: 0.6012 GB / 1.42 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/2.824, allocations: 1.005 MB / 1.421 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008458/2.825, allocations: 0.5263 MB / 1.421 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/2.825, allocations: 55.41 kB / 1.421 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/2.825, allocations: 0 / 1.421 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.2582/3.083, allocations: 55.78 MB / 1.476 GB, free: 156.3 MB / 0.5105 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@2/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