Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.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.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 97.05 kB / 16.93 MB, free: 5.797 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.001255/0.001255, allocations: 191.3 kB / 17.86 MB, free: 5.18 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.327/1.327, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2085/0.2085, allocations: 43.52 MB / 314.6 MB, free: 0.5469 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.001756/0.001756, allocations: 76.72 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08978, allocations: 57.78 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03499/0.1248, allocations: 39.04 MB / 480.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.1467, allocations: 20.14 MB / 0.4886 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.1476, allocations: 19.88 kB / 0.4887 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.1489, allocations: 449.3 kB / 0.4891 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.1619, allocations: 5.106 MB / 0.4941 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006554/0.1685, allocations: 2.548 MB / 0.4966 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.171, allocations: 1.985 MB / 0.4985 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.1717, allocations: 0.4897 MB / 0.499 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009579/0.1813, allocations: 4.152 MB / 0.503 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01107/0.1924, allocations: 5.44 MB / 0.5084 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.1927, allocations: 72 kB / 0.5084 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/0.2066, allocations: 7.219 MB / 0.5155 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.2072, allocations: 275.3 kB / 0.5157 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006614/0.2078, allocations: 458 kB / 0.5162 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.2194, allocations: 5.103 MB / 0.5212 GB, free: 10.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2195, allocations: 0 / 0.5212 GB, free: 10.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2195, allocations: 0 / 0.5212 GB, free: 10.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.2195, allocations: 4 kB / 0.5212 GB, free: 10.05 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.004428/0.2239, allocations: 1.684 MB / 0.5228 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.224, allocations: 12.03 kB / 0.5228 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.2262, allocations: 299.6 kB / 0.5231 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.227, allocations: 0.5521 MB / 0.5236 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.2272, allocations: 125.2 kB / 0.5238 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.2273, allocations: 56.12 kB / 0.5238 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.2299, allocations: 1.193 MB / 0.525 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.2299, allocations: 11.94 kB / 0.525 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.23, allocations: 27.98 kB / 0.525 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/0.2301, allocations: 45.28 kB / 0.5251 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.2326, allocations: 1.023 MB / 0.5261 GB, free: 4.832 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.2011/0.4337, allocations: 5.621 MB / 0.5315 GB, free: 90.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.4362, allocations: 0.7619 MB / 0.5323 GB, free: 90.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000599/0.4369, allocations: 292.8 kB / 0.5326 GB, free: 90.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03334/0.4702, allocations: 15.87 MB / 0.5481 GB, free: 80.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.4703, allocations: 42.16 kB / 0.5481 GB, free: 80.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.927e-06/0.4703, allocations: 0 / 0.5481 GB, free: 80.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007479/0.4778, allocations: 2.269 MB / 0.5503 GB, free: 79.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.4779, allocations: 162.3 kB / 0.5505 GB, free: 79.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.4786, allocations: 0.6196 MB / 0.5511 GB, free: 79.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.4787, allocations: 36.92 kB / 0.5511 GB, free: 79.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.4789, allocations: 386.7 kB / 0.5515 GB, free: 78.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.479, allocations: 173.7 kB / 0.5517 GB, free: 78.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.4792, allocations: 158.2 kB / 0.5518 GB, free: 78.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.4793, allocations: 379.9 kB / 0.5522 GB, free: 78.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.4799, allocations: 276.3 kB / 0.5524 GB, free: 78.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.4806, allocations: 0.6078 MB / 0.553 GB, free: 77.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.4819, allocations: 0.9039 MB / 0.5539 GB, free: 77.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4819, allocations: 0 / 0.5539 GB, free: 77.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001668/0.4835, allocations: 0.9631 MB / 0.5548 GB, free: 76.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4836, allocations: 12.75 kB / 0.5549 GB, free: 76.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4836, allocations: 7.719 kB / 0.5549 GB, free: 76.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.4839, allocations: 67.86 kB / 0.5549 GB, free: 76.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4851, allocations: 297.6 kB / 0.5552 GB, free: 76.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.4863, allocations: 2.081 MB / 0.5572 GB, free: 74.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.4869, allocations: 43.56 kB / 0.5573 GB, free: 74.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.487, allocations: 43.23 kB / 0.5573 GB, free: 74.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.0003643/0.4874, allocations: 281 kB / 0.5576 GB, free: 74.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.4875, allocations: 73.62 kB / 0.5577 GB, free: 74.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.4902, allocations: 2.551 MB / 0.5602 GB, free: 72.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.4903, allocations: 34.55 kB / 0.5602 GB, free: 72.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4903, allocations: 7.922 kB / 0.5602 GB, free: 72.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4903, allocations: 0 / 0.5602 GB, free: 72.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.494, allocations: 3.76 MB / 0.5639 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4941, allocations: 6.344 kB / 0.5639 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.4951, allocations: 232.2 kB / 0.5641 GB, free: 69.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.4955, allocations: 84.72 kB / 0.5642 GB, free: 69.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.4955, allocations: 12 kB / 0.5642 GB, free: 69.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.4966, allocations: 2.098 MB / 0.5662 GB, free: 67.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4966, allocations: 0 / 0.5662 GB, free: 67.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.4991, allocations: 2.338 MB / 0.5685 GB, free: 65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.4995, allocations: 268.4 kB / 0.5688 GB, free: 64.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.4996, allocations: 35.62 kB / 0.5688 GB, free: 64.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.5002, allocations: 31.97 kB / 0.5688 GB, free: 64.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.5003, allocations: 48.5 kB / 0.5689 GB, free: 64.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.5004, allocations: 19.98 kB / 0.5689 GB, free: 64.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000664/0.501, allocations: 0.5615 MB / 0.5695 GB, free: 64.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.501, allocations: 0 / 0.5695 GB, free: 64.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003246/0.5043, allocations: 1.092 MB / 0.5705 GB, free: 63 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.005029/0.5093, allocations: 1.214 MB / 0.5717 GB, free: 61.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.5125, allocations: 1.194 MB / 0.5729 GB, free: 60.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.5125, allocations: 0 / 0.5729 GB, free: 60.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.514, allocations: 0.8053 MB / 0.5737 GB, free: 59.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.5164, allocations: 413.2 kB / 0.5741 GB, free: 59.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.5202, allocations: 2.543 MB / 0.5765 GB, free: 57.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.5208, allocations: 1.159 MB / 0.5777 GB, free: 55.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.5211, allocations: 79.42 kB / 0.5777 GB, free: 55.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5211, allocations: 0 / 0.5777 GB, free: 55.8 MB / 414.1 MB Notification: Performance of Templates: time 0.04513/0.5662, allocations: 39.48 MB / 0.6163 GB, free: 16.36 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches