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.001066/0.001066, allocations: 177 kB / 17.06 MB, free: 5.094 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.288/1.288, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008664/0.0008665, allocations: 88.02 kB / 292.1 MB, free: 10.93 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.3636/0.3636, allocations: 44.2 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3606, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.572/6.933, allocations: 2.757 GB / 3.267 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/6.933, allocations: 75.95 kB / 3.267 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7515/7.684, allocations: 218.1 MB / 3.48 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/7.684, allocations: 0 / 3.48 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.165e-05/7.684, allocations: 3.969 kB / 3.48 GB, free: 90.84 MB / 0.5261 GB 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.007979/7.692, allocations: 1.763 MB / 3.482 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/7.692, allocations: 11.91 kB / 3.482 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/7.694, allocations: 225 kB / 3.482 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/7.695, allocations: 284.2 kB / 3.482 GB, free: 89.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/7.695, allocations: 24.66 kB / 3.482 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/7.695, allocations: 28 kB / 3.482 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/7.697, allocations: 0.8033 MB / 3.483 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/7.697, allocations: 7.938 kB / 3.483 GB, free: 88.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/7.697, allocations: 20 kB / 3.483 GB, free: 88.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/7.697, allocations: 8 kB / 3.483 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/7.699, allocations: 0.9159 MB / 3.484 GB, free: 88.05 MB / 0.5261 GB 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.003314/7.702, allocations: 2.774 MB / 3.487 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/7.704, allocations: 372.2 kB / 3.487 GB, free: 85.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.784/8.488, allocations: 223.3 MB / 3.705 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/8.489, allocations: 465.2 kB / 3.705 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 3.988e-06/8.489, allocations: 0 / 3.705 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.002844/8.492, allocations: 0.7557 MB / 3.706 GB, free: 46.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/8.492, allocations: 384.7 kB / 3.707 GB, free: 45.56 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/8.492, allocations: 166 kB / 3.707 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/8.492, allocations: 32.33 kB / 3.707 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/8.493, allocations: 184.6 kB / 3.707 GB, free: 45.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/8.493, allocations: 115.1 kB / 3.707 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/8.493, allocations: 6.312 kB / 3.707 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001167/8.493, allocations: 333.8 kB / 3.707 GB, free: 44.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/8.493, allocations: 76.41 kB / 3.707 GB, free: 44.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/8.493, allocations: 343.2 kB / 3.708 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/8.494, allocations: 130 kB / 3.708 GB, free: 44.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/8.494, allocations: 0 / 3.708 GB, free: 44.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007894/8.494, allocations: 463.4 kB / 3.708 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/8.494, allocations: 8 kB / 3.708 GB, free: 44.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/8.494, allocations: 8 kB / 3.708 GB, free: 44.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/8.494, allocations: 18.62 kB / 3.708 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/8.495, allocations: 140.9 kB / 3.708 GB, free: 43.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/8.495, allocations: 19.17 kB / 3.708 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/8.495, allocations: 56.8 kB / 3.709 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/8.495, allocations: 45.36 kB / 3.709 GB, free: 43.85 MB / 0.5417 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_h_is.phase,state.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.0001736/8.495, allocations: 162.5 kB / 3.709 GB, free: 43.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/8.496, allocations: 27.42 kB / 3.709 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/8.498, allocations: 2.494 MB / 3.711 GB, free: 42.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/8.498, allocations: 17.98 kB / 3.711 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/8.498, allocations: 7.719 kB / 3.711 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/8.498, allocations: 4.375 kB / 3.711 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008744/8.499, allocations: 0.9413 MB / 3.712 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/8.499, allocations: 0 / 3.712 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/8.499, allocations: 74.5 kB / 3.712 GB, free: 41.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/8.499, allocations: 4 kB / 3.712 GB, free: 41.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/8.499, allocations: 17.77 kB / 3.712 GB, free: 41.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/8.499, allocations: 4 kB / 3.712 GB, free: 41.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/8.499, allocations: 7.938 kB / 3.712 GB, free: 41.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/8.5, allocations: 0.8276 MB / 3.713 GB, free: 40.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/8.5, allocations: 390.8 kB / 3.713 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/8.5, allocations: 6.625 kB / 3.713 GB, free: 40.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/8.501, allocations: 26.41 kB / 3.713 GB, free: 40.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/8.501, allocations: 29.22 kB / 3.714 GB, free: 40.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/8.501, allocations: 17.25 kB / 3.714 GB, free: 40.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004813/8.501, allocations: 0.4962 MB / 3.714 GB, free: 40.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/8.501, allocations: 0 / 3.714 GB, free: 40.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006718/8.508, allocations: 1.53 MB / 3.715 GB, free: 39.15 MB / 0.5417 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 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.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.01255/8.521, allocations: 1.9 MB / 3.717 GB, free: 37.63 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001036/8.522, allocations: 408.8 kB / 3.718 GB, free: 37.37 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/8.522, allocations: 0.75 kB / 3.718 GB, free: 37.37 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/8.522, allocations: 277.5 kB / 3.718 GB, free: 37.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/8.523, allocations: 126.2 kB / 3.718 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.963/11.49, allocations: 0.9618 GB / 4.68 GB, free: 83.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/11.49, allocations: 1.005 MB / 4.681 GB, free: 82.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001172/11.49, allocations: 471.8 kB / 4.681 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/11.49, allocations: 53.2 kB / 4.681 GB, free: 82.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.833e-06/11.49, allocations: 0 / 4.681 GB, free: 82.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.063/11.55, allocations: 37.92 MB / 4.718 GB, free: 62.32 MB / 0.5417 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