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.001517/0.001517, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 75.88 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.421, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01988/0.441, allocations: 13.92 MB / 0.5446 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0311/0.4721, allocations: 26.6 MB / 0.5706 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.4724, allocations: 4 kB / 0.5706 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.4729, allocations: 99.38 kB / 0.5707 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02858/0.5015, allocations: 8.531 MB / 0.579 GB, free: 428 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.5026, allocations: 346.5 kB / 0.5794 GB, free: 84 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005168/0.5078, allocations: 1.998 MB / 0.5813 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.5079, allocations: 24.34 kB / 0.5813 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.5086, allocations: 278.7 kB / 0.5816 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007341/0.5159, allocations: 3.25 MB / 0.5848 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.5161, allocations: 15.94 kB / 0.5848 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02288/0.5389, allocations: 10.83 MB / 0.5954 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.5391, allocations: 47.77 kB / 0.5954 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.5394, allocations: 143.3 kB / 0.5956 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.5575, allocations: 6.337 MB / 0.6017 GB, free: 9.059 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5575, allocations: 0 / 0.6017 GB, free: 9.059 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5576, allocations: 4 kB / 0.6017 GB, free: 9.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.5576, allocations: 0 / 0.6017 GB, free: 9.055 MB / 462.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.005015/0.5626, allocations: 1.6 MB / 0.6033 GB, free: 7.398 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5626, allocations: 12.03 kB / 0.6033 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.5644, allocations: 224.5 kB / 0.6035 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.5648, allocations: 279.9 kB / 0.6038 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.5649, allocations: 25.03 kB / 0.6038 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.12e-05/0.565, allocations: 32.12 kB / 0.6039 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.5673, allocations: 0.8249 MB / 0.6047 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5674, allocations: 4 kB / 0.6047 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.5674, allocations: 20 kB / 0.6047 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.5674, allocations: 8 kB / 0.6047 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.57, allocations: 0.9347 MB / 0.6056 GB, free: 4.965 MB / 462.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.003564/0.5736, allocations: 2.566 MB / 0.6081 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.5751, allocations: 382.1 kB / 0.6085 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.5753, allocations: 80.81 kB / 0.6086 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9/1.475, allocations: 241.3 MB / 0.8442 GB, free: 72.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/1.477, allocations: 472.4 kB / 0.8446 GB, free: 71.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/1.477, allocations: 0 / 0.8446 GB, free: 71.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002763/1.479, allocations: 0.7834 MB / 0.8454 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/1.48, allocations: 375.8 kB / 0.8457 GB, free: 70.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.48, allocations: 176.8 kB / 0.8459 GB, free: 70.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/1.48, allocations: 29.7 kB / 0.8459 GB, free: 70.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/1.48, allocations: 199.9 kB / 0.8461 GB, free: 70.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/1.48, allocations: 117.2 kB / 0.8462 GB, free: 69.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/1.48, allocations: 126.2 kB / 0.8464 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/1.48, allocations: 328.9 kB / 0.8467 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/1.48, allocations: 85.05 kB / 0.8468 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/1.481, allocations: 344.5 kB / 0.8471 GB, free: 68.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/1.481, allocations: 475.5 kB / 0.8475 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.481, allocations: 4 kB / 0.8475 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007714/1.482, allocations: 476.6 kB / 0.848 GB, free: 67.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.482, allocations: 8 kB / 0.848 GB, free: 67.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.482, allocations: 8 kB / 0.848 GB, free: 67.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.482, allocations: 20.75 kB / 0.848 GB, free: 67.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/1.482, allocations: 143.8 kB / 0.8482 GB, free: 67.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.482, allocations: 19.92 kB / 0.8482 GB, free: 67.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/1.483, allocations: 47.11 kB / 0.8482 GB, free: 67.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/1.483, allocations: 49.47 kB / 0.8483 GB, free: 67.57 MB / 0.5762 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.0001355/1.483, allocations: 163 kB / 0.8484 GB, free: 67.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/1.483, allocations: 27.86 kB / 0.8485 GB, free: 67.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/1.485, allocations: 2.622 MB / 0.851 GB, free: 64.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.485, allocations: 15.98 kB / 0.851 GB, free: 64.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.485, allocations: 4 kB / 0.851 GB, free: 64.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.485, allocations: 7.984 kB / 0.851 GB, free: 64.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/1.486, allocations: 0.9351 MB / 0.852 GB, free: 63.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/1.486, allocations: 4 kB / 0.852 GB, free: 63.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/1.486, allocations: 67.88 kB / 0.852 GB, free: 63.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.486, allocations: 11.94 kB / 0.852 GB, free: 63.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/1.486, allocations: 15.92 kB / 0.8521 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.486, allocations: 11.97 kB / 0.8521 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.486, allocations: 7.938 kB / 0.8521 GB, free: 63.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/1.487, allocations: 0.7058 MB / 0.8528 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/1.487, allocations: 120.7 kB / 0.8529 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.487, allocations: 118.9 kB / 0.853 GB, free: 62.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/1.487, allocations: 20.67 kB / 0.853 GB, free: 62.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.487, allocations: 27.97 kB / 0.853 GB, free: 62.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/1.487, allocations: 15.98 kB / 0.8531 GB, free: 62.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004759/1.488, allocations: 0.5001 MB / 0.8535 GB, free: 62.13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.91e-07/1.488, allocations: 0 / 0.8535 GB, free: 62.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005227/1.493, allocations: 1.532 MB / 0.855 GB, free: 60.6 MB / 0.5762 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.006029/1.499, allocations: 1.738 MB / 0.8567 GB, free: 59.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008203/1.5, allocations: 419.9 kB / 0.8571 GB, free: 58.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/1.5, allocations: 0.8125 kB / 0.8571 GB, free: 58.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/1.5, allocations: 284.6 kB / 0.8574 GB, free: 58.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/1.501, allocations: 136.5 kB / 0.8575 GB, free: 58.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.698/3.199, allocations: 0.6026 GB / 1.46 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/3.199, allocations: 0.9817 MB / 1.461 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000648/3.2, allocations: 0.5234 MB / 1.462 GB, free: 205.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/3.2, allocations: 59.41 kB / 1.462 GB, free: 205.6 MB / 0.6231 GB Notification: Performance of SimCode: time 1.553e-06/3.2, allocations: 0 / 1.462 GB, free: 205.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.05463/3.255, allocations: 55.8 MB / 1.516 GB, free: 149.8 MB / 0.6231 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