Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 104 kB / 17.63 MB, free: 5.543 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.001623/0.001624, allocations: 192.1 kB / 18.56 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.18 MB / 336.6 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.72 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 60.81 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01707/0.1385, allocations: 16.43 MB / 485.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006823/0.1454, allocations: 5.454 MB / 491.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.1461, allocations: 19.88 kB / 491.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.147, allocations: 318 kB / 491.6 MB, free: 8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.1495, allocations: 0.8277 MB / 492.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.1523, allocations: 1.005 MB / 493.4 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.1545, allocations: 1.774 MB / 495.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007714/0.1553, allocations: 469.3 kB / 495.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.1566, allocations: 0.7474 MB / 496.4 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009213/0.1575, allocations: 0.6111 MB / 497 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1577, allocations: 60 kB / 497.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009838/0.1587, allocations: 343.5 kB / 497.4 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.159, allocations: 263.2 kB / 497.6 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.1595, allocations: 394.2 kB / 498 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.1611, allocations: 1.098 MB / 499.1 MB, free: 436 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1611, allocations: 0 / 499.1 MB, free: 436 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1612, allocations: 0 / 499.1 MB, free: 436 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1612, allocations: 4 kB / 499.1 MB, free: 432 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00226/0.1634, allocations: 1.048 MB / 0.4885 GB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1635, allocations: 12.03 kB / 0.4885 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.1636, allocations: 98.69 kB / 0.4886 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.164, allocations: 91.98 kB / 0.4887 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.1648, allocations: 0.5054 MB / 0.4891 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.165, allocations: 104.9 kB / 0.4892 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.1651, allocations: 52.12 kB / 0.4893 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.1665, allocations: 0.8307 MB / 0.4901 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1665, allocations: 11.84 kB / 0.4901 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/0.1666, allocations: 23.98 kB / 0.4901 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-05/0.1666, allocations: 36.98 kB / 0.4902 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1678, allocations: 0.6438 MB / 0.4908 GB, free: 12.78 MB / 382.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.004949/0.1727, allocations: 4.344 MB / 0.495 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.1734, allocations: 347.8 kB / 0.4954 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.1738, allocations: 173.3 kB / 0.4955 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.176, allocations: 1.702 MB / 0.4972 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1761, allocations: 38.56 kB / 0.4972 GB, free: 5.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.1761, allocations: 4 kB / 0.4972 GB, free: 5.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003689/0.1798, allocations: 1.399 MB / 0.4986 GB, free: 4.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.1799, allocations: 132.5 kB / 0.4987 GB, free: 3.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.1807, allocations: 0.6328 MB / 0.4994 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.1808, allocations: 29.7 kB / 0.4994 GB, free: 3.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.1811, allocations: 398.3 kB / 0.4998 GB, free: 2.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1812, allocations: 134.2 kB / 0.4999 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.1815, allocations: 146.5 kB / 0.5 GB, free: 2.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1817, allocations: 370.8 kB / 0.5004 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.1821, allocations: 193.9 kB / 0.5006 GB, free: 2.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.1828, allocations: 0.5559 MB / 0.5011 GB, free: 1.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.1838, allocations: 0.7844 MB / 0.5019 GB, free: 404 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.1839, allocations: 7.938 kB / 0.5019 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.2245/0.4084, allocations: 0.8245 MB / 0.5027 GB, free: 50.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.4085, allocations: 10.66 kB / 0.5027 GB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.4085, allocations: 13.69 kB / 0.5027 GB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.4091, allocations: 100.8 kB / 0.5028 GB, free: 50.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.4098, allocations: 174.5 kB / 0.503 GB, free: 50.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004958/0.4103, allocations: 0.6738 MB / 0.5036 GB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.4108, allocations: 27.5 kB / 0.5037 GB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.4109, allocations: 40.72 kB / 0.5037 GB, free: 50.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.4112, allocations: 265.1 kB / 0.504 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4114, allocations: 64.31 kB / 0.504 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008826/0.4122, allocations: 0.5001 MB / 0.5045 GB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4123, allocations: 7.484 kB / 0.5045 GB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4123, allocations: 1.094 kB / 0.5045 GB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4123, allocations: 2.016 kB / 0.5045 GB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.414, allocations: 1.215 MB / 0.5057 GB, free: 49.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4141, allocations: 4.094 kB / 0.5057 GB, free: 49.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.4144, allocations: 75.3 kB / 0.5058 GB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.4145, allocations: 41.62 kB / 0.5058 GB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4146, allocations: 14.88 kB / 0.5058 GB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002791/0.4149, allocations: 0.5595 MB / 0.5064 GB, free: 49.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4149, allocations: 3.438 kB / 0.5064 GB, free: 49.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009837/0.4159, allocations: 0.7357 MB / 0.5071 GB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.4161, allocations: 199.7 kB / 0.5073 GB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4163, allocations: 10.83 kB / 0.5073 GB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.4167, allocations: 19.2 kB / 0.5073 GB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.4167, allocations: 33.97 kB / 0.5074 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.4168, allocations: 21.2 kB / 0.5074 GB, free: 48.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007146/0.4175, allocations: 474.2 kB / 0.5078 GB, free: 48.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4175, allocations: 0 / 0.5078 GB, free: 48.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009052/0.4184, allocations: 200.6 kB / 0.508 GB, free: 48.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.42, allocations: 1.405 MB / 0.5094 GB, free: 47.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.4212, allocations: 0.5297 MB / 0.5099 GB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4212, allocations: 2.812 kB / 0.5099 GB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.4215, allocations: 184 kB / 0.5101 GB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.4233, allocations: 370.4 kB / 0.5104 GB, free: 46.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/0.4316, allocations: 6.553 MB / 0.5168 GB, free: 42.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.4321, allocations: 0.9386 MB / 0.5178 GB, free: 42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009079/0.433, allocations: 205.5 kB / 0.5179 GB, free: 41.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.4333, allocations: 234 kB / 0.5182 GB, free: 41.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4333, allocations: 1.094 kB / 0.5182 GB, free: 41.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.4785, allocations: 20.36 MB / 0.5381 GB, free: 27.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.82, allocations: 11.53 kB / 0.5381 GB, free: 27.46 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches