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.001337/0.001337, allocations: 105.2 kB / 16.4 MB, free: 6.504 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.001163/0.001163, allocations: 192.2 kB / 17.34 MB, free: 5.746 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.614/1.614, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2356/0.2356, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001637/0.001637, allocations: 68.38 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1333, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01876/0.1521, allocations: 13.83 MB / 0.5014 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03212/0.1843, allocations: 26.57 MB / 0.5274 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.1846, allocations: 4 kB / 0.5274 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.1852, allocations: 99.38 kB / 0.5275 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.4001/0.5853, allocations: 8.501 MB / 0.5358 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.5867, allocations: 351 kB / 0.5361 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006545/0.5932, allocations: 2.004 MB / 0.5381 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.5934, allocations: 26.12 kB / 0.5381 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000958/0.5943, allocations: 268 kB / 0.5384 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009075/0.6034, allocations: 3.266 MB / 0.5415 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.6035, allocations: 10.44 kB / 0.5416 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03375/0.6373, allocations: 10.81 MB / 0.5521 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.6376, allocations: 49.77 kB / 0.5522 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006674/0.6383, allocations: 137.2 kB / 0.5523 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02557/0.6639, allocations: 6.3 MB / 0.5584 GB, free: 1.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6639, allocations: 0 / 0.5584 GB, free: 1.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6639, allocations: 0 / 0.5584 GB, free: 1.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.664, allocations: 0 / 0.5584 GB, free: 1.609 MB / 414.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.006765/0.6707, allocations: 1.558 MB / 0.56 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.6708, allocations: 13.14 kB / 0.56 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.6725, allocations: 224.7 kB / 0.5602 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.6729, allocations: 270.8 kB / 0.5604 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.6729, allocations: 25.47 kB / 0.5605 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.673, allocations: 33.91 kB / 0.5605 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.6754, allocations: 0.8209 MB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.6755, allocations: 2.922 kB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.6755, allocations: 12.5 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.6755, allocations: 11 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.6779, allocations: 0.9443 MB / 0.5623 GB, free: 15.21 MB / 430.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.003515/0.6814, allocations: 2.57 MB / 0.5648 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.6828, allocations: 376.7 kB / 0.5651 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.683, allocations: 80.19 kB / 0.5652 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9674/1.65, allocations: 227.4 MB / 0.7872 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.652, allocations: 476.5 kB / 0.7877 GB, free: 224 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/1.652, allocations: 0 / 0.7877 GB, free: 224 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.002936/1.655, allocations: 0.7847 MB / 0.7885 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/1.655, allocations: 372.6 kB / 0.7888 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.655, allocations: 194.4 kB / 0.789 GB, free: 223.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.655, allocations: 32.45 kB / 0.789 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/1.655, allocations: 185.2 kB / 0.7892 GB, free: 223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/1.655, allocations: 111.2 kB / 0.7893 GB, free: 222.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.656, allocations: 125.8 kB / 0.7894 GB, free: 222.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/1.656, allocations: 329.4 kB / 0.7897 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/1.656, allocations: 86.53 kB / 0.7898 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/1.656, allocations: 347.9 kB / 0.7902 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/1.657, allocations: 483.3 kB / 0.7906 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.657, allocations: 0 / 0.7906 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008315/1.658, allocations: 472.9 kB / 0.7911 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.658, allocations: 10.69 kB / 0.7911 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.658, allocations: 7.625 kB / 0.7911 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/1.658, allocations: 15.59 kB / 0.7911 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/1.658, allocations: 145.1 kB / 0.7912 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.658, allocations: 14.81 kB / 0.7913 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/1.658, allocations: 50.06 kB / 0.7913 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/1.658, allocations: 47.19 kB / 0.7913 GB, free: 221.5 MB / 0.6075 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.0001524/1.659, allocations: 163.1 kB / 0.7915 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/1.659, allocations: 31.17 kB / 0.7915 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/1.661, allocations: 2.598 MB / 0.7941 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/1.661, allocations: 19.97 kB / 0.7941 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/1.661, allocations: 6.516 kB / 0.7941 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.661, allocations: 5.594 kB / 0.7941 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/1.662, allocations: 0.9321 MB / 0.795 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.662, allocations: 8 kB / 0.795 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/1.663, allocations: 67.88 kB / 0.7951 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.663, allocations: 15.92 kB / 0.7951 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.663, allocations: 8 kB / 0.7951 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.663, allocations: 7.938 kB / 0.7951 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.663, allocations: 4 kB / 0.7951 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/1.663, allocations: 0.6967 MB / 0.7958 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/1.664, allocations: 124.4 kB / 0.7959 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.664, allocations: 115 kB / 0.796 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/1.664, allocations: 12 kB / 0.796 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/1.664, allocations: 39.89 kB / 0.7961 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/1.664, allocations: 20.62 kB / 0.7961 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004734/1.664, allocations: 0.4962 MB / 0.7966 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.664, allocations: 0 / 0.7966 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007408/1.672, allocations: 1.508 MB / 0.798 GB, free: 215.3 MB / 0.6075 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.01015/1.682, allocations: 1.717 MB / 0.7997 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.683, allocations: 422.8 kB / 0.8001 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.683, allocations: 0 / 0.8001 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/1.684, allocations: 278.2 kB / 0.8004 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/1.684, allocations: 133.3 kB / 0.8005 GB, free: 213 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.73/3.415, allocations: 0.5999 GB / 1.4 GB, free: 235.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/3.415, allocations: 0.9865 MB / 1.401 GB, free: 234.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001144/3.417, allocations: 0.5197 MB / 1.402 GB, free: 234.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/3.417, allocations: 55.5 kB / 1.402 GB, free: 234.8 MB / 0.6075 GB Notification: Performance of SimCode: time 2.595e-06/3.417, allocations: 0 / 1.402 GB, free: 234.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.0726/3.489, allocations: 55.65 MB / 1.456 GB, free: 196.6 MB / 0.6075 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches