Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001911/0.001911, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002714/0.002714, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 81.19 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1521, allocations: 62.44 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01987/0.172, allocations: 14.73 MB / 494 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3092/0.4812, allocations: 28.31 MB / 0.5101 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.4816, allocations: 2.031 kB / 0.5101 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.4821, allocations: 87.45 kB / 0.5102 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0274/0.5095, allocations: 6.841 MB / 0.5169 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.5107, allocations: 312.4 kB / 0.5172 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005125/0.5159, allocations: 2.037 MB / 0.5192 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.557e-05/0.516, allocations: 21.41 kB / 0.5192 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.5166, allocations: 267 kB / 0.5194 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007763/0.5244, allocations: 3.273 MB / 0.5226 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.5245, allocations: 8 kB / 0.5226 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02704/0.5515, allocations: 10.74 MB / 0.5331 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.5517, allocations: 48.42 kB / 0.5332 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.5521, allocations: 140 kB / 0.5333 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01658/0.5687, allocations: 6.356 MB / 0.5395 GB, free: 3.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5687, allocations: 0 / 0.5395 GB, free: 3.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5687, allocations: 0 / 0.5395 GB, free: 3.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.5687, allocations: 0 / 0.5395 GB, free: 3.418 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.004435/0.5732, allocations: 1.563 MB / 0.541 GB, free: 2.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.814e-05/0.5733, allocations: 12.59 kB / 0.5411 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.575, allocations: 215.7 kB / 0.5413 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.5753, allocations: 277.6 kB / 0.5415 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.5753, allocations: 21.5 kB / 0.5415 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.5754, allocations: 34.62 kB / 0.5416 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.5776, allocations: 0.8242 MB / 0.5424 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5776, allocations: 1.969 kB / 0.5424 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.5777, allocations: 12 kB / 0.5424 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5777, allocations: 11.66 kB / 0.5424 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.5799, allocations: 0.9425 MB / 0.5433 GB, free: 160 kB / 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.003187/0.5831, allocations: 2.579 MB / 0.5458 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.5845, allocations: 383.1 kB / 0.5462 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.5847, allocations: 80.83 kB / 0.5463 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8498/1.434, allocations: 238.7 MB / 0.7794 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/1.436, allocations: 481 kB / 0.7798 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 4.759e-06/1.436, allocations: 0 / 0.7798 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003258/1.439, allocations: 0.7805 MB / 0.7806 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.439, allocations: 376 kB / 0.781 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/1.44, allocations: 178.7 kB / 0.7811 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/1.44, allocations: 33.7 kB / 0.7812 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/1.44, allocations: 189.4 kB / 0.7814 GB, free: 173 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/1.44, allocations: 106.5 kB / 0.7815 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.44, allocations: 126.1 kB / 0.7816 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.44, allocations: 338.8 kB / 0.7819 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/1.44, allocations: 81.06 kB / 0.782 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/1.441, allocations: 340.7 kB / 0.7823 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/1.441, allocations: 487 kB / 0.7828 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.441, allocations: 4 kB / 0.7828 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009353/1.442, allocations: 474.2 kB / 0.7832 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.442, allocations: 11.19 kB / 0.7832 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.442, allocations: 12 kB / 0.7832 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/1.442, allocations: 12 kB / 0.7833 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/1.443, allocations: 143.7 kB / 0.7834 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/1.443, allocations: 17.73 kB / 0.7834 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/1.443, allocations: 55.97 kB / 0.7835 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/1.443, allocations: 43.97 kB / 0.7835 GB, free: 170.5 MB / 0.5606 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.0001663/1.444, allocations: 165.5 kB / 0.7837 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.444, allocations: 27.7 kB / 0.7837 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/1.446, allocations: 2.605 MB / 0.7862 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/1.446, allocations: 19.97 kB / 0.7862 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.446, allocations: 4 kB / 0.7863 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.446, allocations: 4.375 kB / 0.7863 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.447, allocations: 0.9392 MB / 0.7872 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.447, allocations: 0 / 0.7872 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/1.447, allocations: 79.86 kB / 0.7872 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.447, allocations: 4 kB / 0.7873 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/1.447, allocations: 8.625 kB / 0.7873 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/1.447, allocations: 11.94 kB / 0.7873 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.447, allocations: 4 kB / 0.7873 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/1.448, allocations: 0.7004 MB / 0.788 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/1.448, allocations: 124.5 kB / 0.7881 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.449, allocations: 110.5 kB / 0.7882 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/1.449, allocations: 15.98 kB / 0.7882 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/1.449, allocations: 39.84 kB / 0.7882 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/1.449, allocations: 12 kB / 0.7882 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005372/1.45, allocations: 0.504 MB / 0.7887 GB, free: 165 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.45, allocations: 0 / 0.7887 GB, free: 165 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005043/1.455, allocations: 1.511 MB / 0.7902 GB, free: 163.6 MB / 0.5606 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.007229/1.462, allocations: 1.737 MB / 0.7919 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008651/1.463, allocations: 411.5 kB / 0.7923 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.463, allocations: 0 / 0.7923 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/1.463, allocations: 286 kB / 0.7926 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/1.464, allocations: 124.9 kB / 0.7927 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.549/3.013, allocations: 0.6026 GB / 1.395 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/3.013, allocations: 0.9823 MB / 1.396 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007695/3.014, allocations: 0.5199 MB / 1.397 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/3.014, allocations: 59.41 kB / 1.397 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/3.014, allocations: 0 / 1.397 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.06076/3.075, allocations: 55.63 MB / 1.451 GB, free: 85.34 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches