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.001455/0.001456, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 75.88 kB / 482 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3645, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01786/0.3824, allocations: 13.93 MB / 0.5453 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03333/0.4158, allocations: 26.6 MB / 0.5713 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.4162, allocations: 4 kB / 0.5713 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.4167, allocations: 99.38 kB / 0.5714 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0262/0.4429, allocations: 8.526 MB / 0.5797 GB, free: 400 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.4439, allocations: 350.3 kB / 0.58 GB, free: 52 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004523/0.4484, allocations: 1.998 MB / 0.582 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.4485, allocations: 20.34 kB / 0.582 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.449, allocations: 282.7 kB / 0.5823 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007023/0.4561, allocations: 3.262 MB / 0.5855 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.4562, allocations: 12 kB / 0.5855 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02373/0.4799, allocations: 10.83 MB / 0.5961 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.4801, allocations: 43.83 kB / 0.5961 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.4804, allocations: 139.3 kB / 0.5962 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02021/0.5007, allocations: 6.324 MB / 0.6024 GB, free: 9.043 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5007, allocations: 0 / 0.6024 GB, free: 9.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5007, allocations: 0 / 0.6024 GB, free: 9.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.5007, allocations: 0 / 0.6024 GB, free: 9.043 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.0048/0.5055, allocations: 1.56 MB / 0.6039 GB, free: 7.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5056, allocations: 8.031 kB / 0.6039 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.5075, allocations: 224.4 kB / 0.6041 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.5079, allocations: 275.8 kB / 0.6044 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.508, allocations: 29.03 kB / 0.6044 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.5081, allocations: 28.12 kB / 0.6045 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.5106, allocations: 0.8327 MB / 0.6053 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.5106, allocations: 0 / 0.6053 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.5107, allocations: 16 kB / 0.6053 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5107, allocations: 11.94 kB / 0.6053 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.5133, allocations: 0.9347 MB / 0.6062 GB, free: 5.004 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.003352/0.5167, allocations: 2.562 MB / 0.6087 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.5182, allocations: 390.2 kB / 0.6091 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.5184, allocations: 72.83 kB / 0.6092 GB, free: 1.766 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8813/1.4, allocations: 241.2 MB / 0.8447 GB, free: 72.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/1.401, allocations: 473 kB / 0.8452 GB, free: 71.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/1.401, allocations: 0 / 0.8452 GB, free: 71.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002936/1.404, allocations: 0.7868 MB / 0.846 GB, free: 71.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.404, allocations: 367.8 kB / 0.8463 GB, free: 70.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.405, allocations: 176.3 kB / 0.8465 GB, free: 70.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.405, allocations: 33.7 kB / 0.8465 GB, free: 70.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/1.405, allocations: 192.5 kB / 0.8467 GB, free: 70.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/1.405, allocations: 113 kB / 0.8468 GB, free: 70.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/1.405, allocations: 118.1 kB / 0.8469 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/1.405, allocations: 332.9 kB / 0.8472 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/1.405, allocations: 85.88 kB / 0.8473 GB, free: 69.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/1.405, allocations: 352.4 kB / 0.8476 GB, free: 69.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/1.406, allocations: 470.6 kB / 0.8481 GB, free: 68.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.406, allocations: 4 kB / 0.8481 GB, free: 68.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008365/1.407, allocations: 476.1 kB / 0.8486 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.407, allocations: 12 kB / 0.8486 GB, free: 68.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.407, allocations: 8 kB / 0.8486 GB, free: 68.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.407, allocations: 16.72 kB / 0.8486 GB, free: 68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/1.407, allocations: 145.6 kB / 0.8487 GB, free: 67.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/1.407, allocations: 19.94 kB / 0.8487 GB, free: 67.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/1.408, allocations: 55.52 kB / 0.8488 GB, free: 67.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/1.408, allocations: 39.98 kB / 0.8488 GB, free: 67.75 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.0001499/1.408, allocations: 164 kB / 0.849 GB, free: 67.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/1.408, allocations: 19.81 kB / 0.849 GB, free: 67.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/1.41, allocations: 2.597 MB / 0.8515 GB, free: 64.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.41, allocations: 19.97 kB / 0.8516 GB, free: 64.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.41, allocations: 4 kB / 0.8516 GB, free: 64.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.41, allocations: 7.984 kB / 0.8516 GB, free: 64.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000747/1.411, allocations: 0.92 MB / 0.8525 GB, free: 63.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.411, allocations: 4 kB / 0.8525 GB, free: 63.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/1.411, allocations: 79.86 kB / 0.8526 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.411, allocations: 7.844 kB / 0.8526 GB, free: 63.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/1.411, allocations: 11.94 kB / 0.8526 GB, free: 63.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/1.411, allocations: 22.91 kB / 0.8526 GB, free: 63.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.411, allocations: 0 / 0.8526 GB, free: 63.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/1.412, allocations: 0.6974 MB / 0.8533 GB, free: 63.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/1.412, allocations: 128.4 kB / 0.8534 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/1.412, allocations: 114.4 kB / 0.8535 GB, free: 62.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/1.413, allocations: 15.98 kB / 0.8535 GB, free: 62.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/1.413, allocations: 27.91 kB / 0.8536 GB, free: 62.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/1.413, allocations: 16 kB / 0.8536 GB, free: 62.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005253/1.413, allocations: 0.504 MB / 0.8541 GB, free: 62.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/1.413, allocations: 0 / 0.8541 GB, free: 62.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004657/1.418, allocations: 1.516 MB / 0.8555 GB, free: 60.84 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.006626/1.425, allocations: 1.726 MB / 0.8572 GB, free: 59.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009227/1.426, allocations: 411.9 kB / 0.8576 GB, free: 58.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.426, allocations: 4.688 kB / 0.8576 GB, free: 58.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/1.426, allocations: 285.9 kB / 0.8579 GB, free: 58.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/1.427, allocations: 137.3 kB / 0.858 GB, free: 58.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.698/3.125, allocations: 0.6023 GB / 1.46 GB, free: 207.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/3.125, allocations: 0.9855 MB / 1.461 GB, free: 206.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/3.125, allocations: 59.41 kB / 1.461 GB, free: 206.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.553e-06/3.125, allocations: 0 / 1.461 GB, free: 206.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.0451/3.17, allocations: 32.97 MB / 1.494 GB, free: 173.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/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