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.001342/0.001342, allocations: 117.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 200.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4321, 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.0196/0.4517, allocations: 13.92 MB / 0.5446 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03079/0.4826, allocations: 26.61 MB / 0.5706 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.4829, allocations: 0 / 0.5706 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.4833, allocations: 99.39 kB / 0.5707 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02418/0.5075, allocations: 8.532 MB / 0.579 GB, free: 436 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.5084, allocations: 338.2 kB / 0.5794 GB, free: 100 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004152/0.5126, allocations: 2.006 MB / 0.5813 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.752e-05/0.5127, allocations: 24.38 kB / 0.5813 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.5133, allocations: 274.8 kB / 0.5816 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005816/0.5191, allocations: 3.258 MB / 0.5848 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.5192, allocations: 12 kB / 0.5848 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0252/0.5444, allocations: 10.83 MB / 0.5954 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.5446, allocations: 47.77 kB / 0.5954 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.5449, allocations: 143.4 kB / 0.5956 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01886/0.5637, allocations: 6.316 MB / 0.6017 GB, free: 9.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.5638, allocations: 3.984 kB / 0.6017 GB, free: 9.082 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5638, allocations: 0 / 0.6017 GB, free: 9.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5638, allocations: 0 / 0.6017 GB, free: 9.082 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.006542/0.5703, allocations: 1.56 MB / 0.6033 GB, free: 7.473 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.5704, allocations: 11.97 kB / 0.6033 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.5735, allocations: 220.4 kB / 0.6035 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.574, allocations: 275.8 kB / 0.6037 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.5741, allocations: 25.03 kB / 0.6038 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.5742, allocations: 36.12 kB / 0.6038 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.5781, allocations: 0.8172 MB / 0.6046 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.5782, allocations: 7.938 kB / 0.6046 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.5783, allocations: 16 kB / 0.6046 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5783, allocations: 8 kB / 0.6046 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.5824, allocations: 0.9426 MB / 0.6056 GB, free: 5.043 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.004848/0.5873, allocations: 2.566 MB / 0.6081 GB, free: 2.266 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.5895, allocations: 378.2 kB / 0.6084 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.5898, allocations: 76.81 kB / 0.6085 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9906/1.58, allocations: 241.2 MB / 0.8441 GB, free: 72.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/1.582, allocations: 480.6 kB / 0.8445 GB, free: 71.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.957e-06/1.582, allocations: 3.844 kB / 0.8445 GB, free: 71.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002948/1.585, allocations: 0.7822 MB / 0.8453 GB, free: 71.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/1.585, allocations: 371.8 kB / 0.8456 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/1.585, allocations: 174.5 kB / 0.8458 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/1.585, allocations: 45.69 kB / 0.8458 GB, free: 70.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/1.585, allocations: 182.5 kB / 0.846 GB, free: 70.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/1.586, allocations: 114.3 kB / 0.8461 GB, free: 70.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.586, allocations: 122.1 kB / 0.8462 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/1.586, allocations: 332.9 kB / 0.8466 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/1.586, allocations: 81.06 kB / 0.8466 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/1.586, allocations: 344.5 kB / 0.847 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/1.587, allocations: 482.6 kB / 0.8474 GB, free: 68.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.587, allocations: 4 kB / 0.8474 GB, free: 68.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009471/1.588, allocations: 471.5 kB / 0.8479 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.588, allocations: 12 kB / 0.8479 GB, free: 68.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.588, allocations: 12.09 kB / 0.8479 GB, free: 68.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.588, allocations: 15.94 kB / 0.8479 GB, free: 68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/1.588, allocations: 140.7 kB / 0.8481 GB, free: 67.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/1.588, allocations: 19.92 kB / 0.8481 GB, free: 67.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/1.589, allocations: 51.53 kB / 0.8481 GB, free: 67.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/1.589, allocations: 35.98 kB / 0.8482 GB, free: 67.76 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.0001749/1.589, allocations: 161.6 kB / 0.8483 GB, free: 67.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.589, allocations: 27.75 kB / 0.8483 GB, free: 67.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1.591, allocations: 2.598 MB / 0.8509 GB, free: 64.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/1.591, allocations: 15.98 kB / 0.8509 GB, free: 64.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.591, allocations: 10.38 kB / 0.8509 GB, free: 64.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.591, allocations: 7.984 kB / 0.8509 GB, free: 64.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/1.592, allocations: 0.9301 MB / 0.8518 GB, free: 63.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.592, allocations: 0 / 0.8518 GB, free: 63.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/1.593, allocations: 76.23 kB / 0.8519 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/1.593, allocations: 8 kB / 0.8519 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/1.593, allocations: 15.94 kB / 0.8519 GB, free: 63.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/1.593, allocations: 11.92 kB / 0.8519 GB, free: 63.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.593, allocations: 4 kB / 0.8519 GB, free: 63.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/1.594, allocations: 0.6935 MB / 0.8526 GB, free: 63.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.594, allocations: 128.4 kB / 0.8527 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.594, allocations: 114.4 kB / 0.8528 GB, free: 62.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/1.594, allocations: 19.92 kB / 0.8529 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/1.594, allocations: 23.97 kB / 0.8529 GB, free: 62.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.594, allocations: 19.98 kB / 0.8529 GB, free: 62.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005567/1.595, allocations: 0.5001 MB / 0.8534 GB, free: 62.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/1.595, allocations: 0 / 0.8534 GB, free: 62.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005747/1.601, allocations: 1.516 MB / 0.8549 GB, free: 60.85 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.008679/1.609, allocations: 1.727 MB / 0.8566 GB, free: 59.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001/1.61, allocations: 427.3 kB / 0.857 GB, free: 58.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.61, allocations: 0 / 0.857 GB, free: 58.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/1.611, allocations: 272.7 kB / 0.8572 GB, free: 58.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/1.612, allocations: 134.1 kB / 0.8574 GB, free: 58.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.726/3.338, allocations: 0.6022 GB / 1.46 GB, free: 207.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/3.338, allocations: 0.9817 MB / 1.461 GB, free: 206.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006748/3.339, allocations: 0.5285 MB / 1.461 GB, free: 205.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/3.339, allocations: 59.39 kB / 1.461 GB, free: 205.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.305e-06/3.339, allocations: 0 / 1.461 GB, free: 205.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.05409/3.393, allocations: 55.95 MB / 1.516 GB, free: 149.9 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