Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 105.6 kB / 16.64 MB, free: 6.812 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.001462/0.001462, allocations: 186.5 kB / 17.56 MB, free: 5.926 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.401/1.401, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2031/0.2031, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 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.001625/0.001625, allocations: 72.78 kB / 382.9 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09207, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03737/0.1295, allocations: 39.48 MB / 480.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02234/0.1519, allocations: 20.27 MB / 0.4887 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.1528, allocations: 23.81 kB / 0.4887 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.1541, allocations: 401.9 kB / 0.4891 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.1672, allocations: 4.547 MB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00672/0.1739, allocations: 2.336 MB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.1766, allocations: 2 MB / 0.4978 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.1774, allocations: 0.4936 MB / 0.4983 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007836/0.1852, allocations: 4.151 MB / 0.5023 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00905/0.1943, allocations: 5.459 MB / 0.5076 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.1946, allocations: 76 kB / 0.5077 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/0.2072, allocations: 7.282 MB / 0.5148 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.2078, allocations: 295.1 kB / 0.5151 GB, free: 200 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.2085, allocations: 458 kB / 0.5155 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006137/0.2146, allocations: 3.563 MB / 0.519 GB, free: 12.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2147, allocations: 0 / 0.519 GB, free: 12.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.2147, allocations: 3.984 kB / 0.519 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2147, allocations: 3.938 kB / 0.519 GB, free: 12.17 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004199/0.2189, allocations: 1.656 MB / 0.5206 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2189, allocations: 11.89 kB / 0.5207 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.2211, allocations: 307.6 kB / 0.521 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.222, allocations: 0.5521 MB / 0.5215 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.2221, allocations: 109.3 kB / 0.5216 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2222, allocations: 68.11 kB / 0.5217 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.2245, allocations: 1.165 MB / 0.5228 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.2246, allocations: 3.938 kB / 0.5228 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.2247, allocations: 31.98 kB / 0.5228 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-05/0.2247, allocations: 45.3 kB / 0.5229 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.2264, allocations: 0.844 MB / 0.5237 GB, free: 7.18 MB / 414.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.00613/0.2325, allocations: 5.505 MB / 0.5291 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.2338, allocations: 0.5753 MB / 0.5296 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.2341, allocations: 229.5 kB / 0.5299 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2653/0.4994, allocations: 46.18 MB / 0.575 GB, free: 56.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.4995, allocations: 41.81 kB / 0.575 GB, free: 56.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.4995, allocations: 0 / 0.575 GB, free: 56.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.004931/0.5044, allocations: 1.927 MB / 0.5769 GB, free: 55.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.5045, allocations: 165.5 kB / 0.577 GB, free: 54.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.5051, allocations: 0.6273 MB / 0.5776 GB, free: 54.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.5052, allocations: 33.7 kB / 0.5777 GB, free: 54.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.5054, allocations: 394.6 kB / 0.5781 GB, free: 53.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.5055, allocations: 174.5 kB / 0.5782 GB, free: 53.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.5057, allocations: 154.5 kB / 0.5784 GB, free: 53.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.5058, allocations: 374.8 kB / 0.5787 GB, free: 53.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.5061, allocations: 225.9 kB / 0.5789 GB, free: 53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.5066, allocations: 0.569 MB / 0.5795 GB, free: 52.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.5073, allocations: 0.8378 MB / 0.5803 GB, free: 51.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5073, allocations: 4 kB / 0.5803 GB, free: 51.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001136/0.5085, allocations: 0.8709 MB / 0.5812 GB, free: 50.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5085, allocations: 8 kB / 0.5812 GB, free: 50.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5085, allocations: 12 kB / 0.5812 GB, free: 50.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.5088, allocations: 61.39 kB / 0.5812 GB, free: 50.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.5099, allocations: 294.4 kB / 0.5815 GB, free: 50.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.511, allocations: 2.066 MB / 0.5835 GB, free: 47.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.5116, allocations: 56.03 kB / 0.5836 GB, free: 47.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.5117, allocations: 43.98 kB / 0.5836 GB, free: 47.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.512, allocations: 281.9 kB / 0.5839 GB, free: 47.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.5122, allocations: 71.81 kB / 0.584 GB, free: 47.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.5141, allocations: 2.224 MB / 0.5862 GB, free: 45.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.5141, allocations: 31.89 kB / 0.5862 GB, free: 45.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.5141, allocations: 0 / 0.5862 GB, free: 45.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5142, allocations: 3.984 kB / 0.5862 GB, free: 45.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.517, allocations: 3.294 MB / 0.5894 GB, free: 41.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.517, allocations: 0 / 0.5894 GB, free: 41.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/0.5178, allocations: 187.8 kB / 0.5896 GB, free: 41.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003193/0.5182, allocations: 88.69 kB / 0.5897 GB, free: 41.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.5182, allocations: 12 kB / 0.5897 GB, free: 41.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/0.5192, allocations: 2.095 MB / 0.5917 GB, free: 39.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5192, allocations: 4.062 kB / 0.5917 GB, free: 39.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.5209, allocations: 1.98 MB / 0.5937 GB, free: 37.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.5213, allocations: 247.4 kB / 0.5939 GB, free: 36.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.5214, allocations: 26.16 kB / 0.5939 GB, free: 36.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.522, allocations: 55.92 kB / 0.594 GB, free: 36.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.5221, allocations: 32.39 kB / 0.594 GB, free: 36.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.5222, allocations: 23.92 kB / 0.594 GB, free: 36.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004992/0.5227, allocations: 0.5107 MB / 0.5945 GB, free: 36.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5227, allocations: 4 kB / 0.5945 GB, free: 36.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002814/0.5255, allocations: 1.082 MB / 0.5956 GB, free: 35.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004649/0.5302, allocations: 1.215 MB / 0.5968 GB, free: 34.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.5326, allocations: 1.018 MB / 0.5978 GB, free: 33.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5326, allocations: 4 kB / 0.5978 GB, free: 33.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5337, allocations: 0.6599 MB / 0.5984 GB, free: 32.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.5356, allocations: 402.4 kB / 0.5988 GB, free: 32.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.5386, allocations: 2.741 MB / 0.6015 GB, free: 29.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.5391, allocations: 1.109 MB / 0.6026 GB, free: 28.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.5393, allocations: 71.42 kB / 0.6026 GB, free: 28.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5393, allocations: 4 kB / 0.6026 GB, free: 28.26 MB / 414.1 MB Notification: Performance of Templates: time 0.04204/0.5813, allocations: 37.84 MB / 0.6396 GB, free: 6.449 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches