Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_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.001499/0.001499, allocations: 108 kB / 16.41 MB, free: 6.484 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.001441/0.001441, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2056/0.2056, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 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.001358/0.001358, allocations: 67.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01746/0.1289, allocations: 16.44 MB / 0.5035 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007371/0.1364, allocations: 5.458 MB / 0.5088 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000832/0.1372, allocations: 19.88 kB / 0.5088 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1383, allocations: 318 kB / 0.5091 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.141, allocations: 0.8355 MB / 0.5099 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.1439, allocations: 1.001 MB / 0.5109 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.1465, allocations: 1.794 MB / 0.5127 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.1473, allocations: 461.2 kB / 0.5131 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.1486, allocations: 0.7552 MB / 0.5138 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008391/0.1494, allocations: 0.615 MB / 0.5144 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.774e-05/0.1496, allocations: 60 kB / 0.5145 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/0.1505, allocations: 347.5 kB / 0.5148 GB, free: 104 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.1508, allocations: 259.2 kB / 0.5151 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.1512, allocations: 394.2 kB / 0.5155 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.1527, allocations: 1.117 MB / 0.5165 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1527, allocations: 0 / 0.5165 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1527, allocations: 0 / 0.5165 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1528, allocations: 0 / 0.5165 GB, free: 14.34 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002017/0.1548, allocations: 1.074 MB / 0.5176 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1548, allocations: 8.031 kB / 0.5176 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.155, allocations: 98.69 kB / 0.5177 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.1553, allocations: 92.47 kB / 0.5178 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.1561, allocations: 0.537 MB / 0.5183 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.1563, allocations: 105 kB / 0.5184 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.1564, allocations: 56.08 kB / 0.5185 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1576, allocations: 0.8307 MB / 0.5193 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1577, allocations: 4 kB / 0.5193 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.1577, allocations: 27.98 kB / 0.5193 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.1578, allocations: 44.92 kB / 0.5193 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009985/0.1588, allocations: 0.6361 MB / 0.52 GB, free: 10.64 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.004701/0.1635, allocations: 4.348 MB / 0.5242 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.1642, allocations: 347.8 kB / 0.5245 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.1645, allocations: 173.3 kB / 0.5247 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/0.1664, allocations: 1.706 MB / 0.5264 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1665, allocations: 38.56 kB / 0.5264 GB, free: 3.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/0.1665, allocations: 0 / 0.5264 GB, free: 3.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.004788/0.1713, allocations: 1.406 MB / 0.5278 GB, free: 2.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1714, allocations: 140.5 kB / 0.5279 GB, free: 1.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.1726, allocations: 0.625 MB / 0.5285 GB, free: 1.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.1727, allocations: 37.7 kB / 0.5286 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.1731, allocations: 407.5 kB / 0.529 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.1733, allocations: 142.8 kB / 0.5291 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.1736, allocations: 146.5 kB / 0.5292 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.1739, allocations: 378.8 kB / 0.5296 GB, free: 96 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2527/0.4266, allocations: 187.2 kB / 0.5298 GB, free: 41.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.4271, allocations: 0.547 MB / 0.5303 GB, free: 41.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.4279, allocations: 0.7813 MB / 0.5311 GB, free: 40.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/0.4279, allocations: 9.344 kB / 0.5311 GB, free: 40.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001365/0.4293, allocations: 0.8245 MB / 0.5319 GB, free: 40.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4294, allocations: 10.53 kB / 0.5319 GB, free: 40.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4294, allocations: 12.7 kB / 0.5319 GB, free: 40.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/0.4298, allocations: 96.89 kB / 0.532 GB, free: 40.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.4305, allocations: 183 kB / 0.5322 GB, free: 40.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/0.4309, allocations: 0.6709 MB / 0.5328 GB, free: 40.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.4314, allocations: 28.12 kB / 0.5329 GB, free: 40.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.4315, allocations: 42.59 kB / 0.5329 GB, free: 40.33 MB / 414.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.0003193/0.4318, allocations: 255.3 kB / 0.5331 GB, free: 40.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4319, allocations: 75.88 kB / 0.5332 GB, free: 40.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007999/0.4327, allocations: 0.5068 MB / 0.5337 GB, free: 40.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4327, allocations: 5.891 kB / 0.5337 GB, free: 40.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4327, allocations: 1.203 kB / 0.5337 GB, free: 40.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4328, allocations: 1.641 kB / 0.5337 GB, free: 40.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4345, allocations: 1.218 MB / 0.5349 GB, free: 39.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4345, allocations: 3.594 kB / 0.5349 GB, free: 39.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.4348, allocations: 84.59 kB / 0.535 GB, free: 39.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.435, allocations: 40.11 kB / 0.535 GB, free: 39.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.435, allocations: 13.19 kB / 0.535 GB, free: 39.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002528/0.4353, allocations: 0.5576 MB / 0.5356 GB, free: 39.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4353, allocations: 6.25 kB / 0.5356 GB, free: 39.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.4363, allocations: 0.7339 MB / 0.5363 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.4365, allocations: 195.6 kB / 0.5365 GB, free: 38.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.4366, allocations: 14.88 kB / 0.5365 GB, free: 38.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.437, allocations: 15.03 kB / 0.5365 GB, free: 38.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.437, allocations: 40.08 kB / 0.5366 GB, free: 38.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.4371, allocations: 22.56 kB / 0.5366 GB, free: 38.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005946/0.4377, allocations: 470.8 kB / 0.537 GB, free: 38.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4377, allocations: 0.8438 kB / 0.537 GB, free: 38.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007624/0.4385, allocations: 204.6 kB / 0.5372 GB, free: 38.65 MB / 414.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.001558/0.44, allocations: 1.41 MB / 0.5386 GB, free: 37.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4411, allocations: 0.5067 MB / 0.5391 GB, free: 37.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4411, allocations: 1.344 kB / 0.5391 GB, free: 37.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.4415, allocations: 188.2 kB / 0.5393 GB, free: 37.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.4432, allocations: 357.1 kB / 0.5396 GB, free: 37.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007982/0.4512, allocations: 6.319 MB / 0.5458 GB, free: 33.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.4517, allocations: 0.9379 MB / 0.5467 GB, free: 32.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008057/0.4525, allocations: 221.1 kB / 0.5469 GB, free: 32.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.4528, allocations: 234.2 kB / 0.5471 GB, free: 32.46 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4528, allocations: 0.5 kB / 0.5471 GB, free: 32.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.4956, allocations: 20.61 MB / 0.5673 GB, free: 20.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.08, allocations: 1.641 kB / 0.5673 GB, free: 20.81 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches