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.001218/0.001218, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001127/0.001127, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.442/1.442, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2442/0.2442, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 60.09 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3925, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01818/0.4107, allocations: 16.42 MB / 0.5345 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007526/0.4182, allocations: 5.453 MB / 0.5398 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.419, allocations: 23.78 kB / 0.5398 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009594/0.42, allocations: 320.8 kB / 0.5401 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.4224, allocations: 0.839 MB / 0.5409 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.4252, allocations: 1.01 MB / 0.5419 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.4278, allocations: 1.782 MB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.4286, allocations: 458.6 kB / 0.5441 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.43, allocations: 0.7571 MB / 0.5448 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.4312, allocations: 0.6146 MB / 0.5455 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.4314, allocations: 59.09 kB / 0.5455 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000991/0.4324, allocations: 343.8 kB / 0.5458 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.4327, allocations: 265 kB / 0.5461 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.4332, allocations: 390.5 kB / 0.5465 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.435, allocations: 1.118 MB / 0.5476 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.435, allocations: 1.031 kB / 0.5476 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.435, allocations: 0 / 0.5476 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.4351, allocations: 3.938 kB / 0.5476 GB, free: 13.63 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.002373/0.4374, allocations: 1.071 MB / 0.5486 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4375, allocations: 13.59 kB / 0.5486 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.4376, allocations: 98.7 kB / 0.5487 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.438, allocations: 93.08 kB / 0.5488 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.4389, allocations: 0.5324 MB / 0.5493 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4391, allocations: 102 kB / 0.5494 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.4392, allocations: 51.22 kB / 0.5495 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4404, allocations: 0.8362 MB / 0.5503 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.4404, allocations: 4 kB / 0.5503 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.4405, allocations: 24 kB / 0.5503 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.4405, allocations: 40.92 kB / 0.5503 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.4416, allocations: 0.64 MB / 0.551 GB, free: 10.53 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.004436/0.446, allocations: 4.341 MB / 0.5552 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.4467, allocations: 351.7 kB / 0.5555 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.447, allocations: 173.3 kB / 0.5557 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/0.4489, allocations: 1.706 MB / 0.5574 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.4489, allocations: 46.42 kB / 0.5574 GB, free: 3.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.449, allocations: 0 / 0.5574 GB, free: 3.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.003518/0.4525, allocations: 1.418 MB / 0.5588 GB, free: 1.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.4526, allocations: 136.5 kB / 0.5589 GB, free: 1.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.4533, allocations: 0.6329 MB / 0.5596 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.4534, allocations: 33.7 kB / 0.5596 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.4536, allocations: 411.4 kB / 0.56 GB, free: 0.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.656e-05/0.4537, allocations: 138.8 kB / 0.5601 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.4539, allocations: 146.6 kB / 0.5603 GB, free: 348 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.4541, allocations: 374.8 kB / 0.5606 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.4545, allocations: 185.9 kB / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.4551, allocations: 0.552 MB / 0.5613 GB, free: 15.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.4561, allocations: 0.7843 MB / 0.5621 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4561, allocations: 7.938 kB / 0.5621 GB, free: 14.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001361/0.4575, allocations: 0.8294 MB / 0.5629 GB, free: 13.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.4575, allocations: 11.94 kB / 0.5629 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4575, allocations: 12 kB / 0.5629 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/0.458, allocations: 113.6 kB / 0.563 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.4586, allocations: 175.7 kB / 0.5632 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006011/0.4592, allocations: 0.6732 MB / 0.5639 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.4598, allocations: 28 kB / 0.5639 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.4599, allocations: 40 kB / 0.5639 GB, free: 12.19 MB / 430.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.0004203/0.4603, allocations: 257.5 kB / 0.5642 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4604, allocations: 75.58 kB / 0.5642 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000995/0.4614, allocations: 0.4984 MB / 0.5647 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4614, allocations: 4 kB / 0.5647 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4615, allocations: 0 / 0.5647 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4615, allocations: 4 kB / 0.5647 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.4635, allocations: 1.222 MB / 0.5659 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4635, allocations: 4 kB / 0.5659 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.4638, allocations: 71.91 kB / 0.566 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.464, allocations: 36.83 kB / 0.566 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.464, allocations: 16 kB / 0.5661 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003728/0.4644, allocations: 0.5644 MB / 0.5666 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4644, allocations: 4.031 kB / 0.5666 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4655, allocations: 0.7419 MB / 0.5673 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.4657, allocations: 192.6 kB / 0.5675 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.4658, allocations: 8 kB / 0.5675 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.4662, allocations: 19.98 kB / 0.5675 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.4663, allocations: 31.84 kB / 0.5676 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.4663, allocations: 23.98 kB / 0.5676 GB, free: 8.203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005315/0.4669, allocations: 475.1 kB / 0.5681 GB, free: 7.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4669, allocations: 4 kB / 0.5681 GB, free: 7.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00081/0.4677, allocations: 195.9 kB / 0.5682 GB, free: 7.551 MB / 430.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.001956/0.4696, allocations: 1.414 MB / 0.5696 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4707, allocations: 0.4906 MB / 0.5701 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4707, allocations: 8 kB / 0.5701 GB, free: 5.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.4711, allocations: 175.7 kB / 0.5703 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.4728, allocations: 368.2 kB / 0.5706 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/0.4809, allocations: 6.326 MB / 0.5768 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.4814, allocations: 0.9417 MB / 0.5777 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006815/0.4821, allocations: 214.9 kB / 0.5779 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.4824, allocations: 227.4 kB / 0.5781 GB, free: 12.83 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4824, allocations: 7.938 kB / 0.5782 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/0.5278, allocations: 20.61 MB / 0.5983 GB, free: 8.586 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.67, allocations: 0.5 kB / 0.5983 GB, free: 8.586 MB / 462.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