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.001454/0.001454, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001835/0.001835, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.445/1.445, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2139/0.2139, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 59.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3848, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02265/0.4075, allocations: 16.43 MB / 0.5345 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.4162, allocations: 5.443 MB / 0.5398 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.4173, allocations: 22.75 kB / 0.5398 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.4185, allocations: 318.7 kB / 0.5401 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.4211, allocations: 0.839 MB / 0.5409 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.4243, allocations: 1.009 MB / 0.5419 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.4272, allocations: 1.782 MB / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009914/0.4282, allocations: 458.9 kB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.4301, allocations: 0.7578 MB / 0.5448 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.4315, allocations: 0.6068 MB / 0.5454 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.4317, allocations: 58.62 kB / 0.5455 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4331, allocations: 350.8 kB / 0.5458 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.4335, allocations: 261.4 kB / 0.5461 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.4346, allocations: 394.1 kB / 0.5465 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.4374, allocations: 1.123 MB / 0.5476 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4374, allocations: 1 kB / 0.5476 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.4374, allocations: 0 / 0.5476 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.647e-05/0.4375, allocations: 3.938 kB / 0.5476 GB, free: 13.66 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.003525/0.441, allocations: 1.066 MB / 0.5486 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4411, allocations: 9.031 kB / 0.5486 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/0.4413, allocations: 104.4 kB / 0.5487 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.4418, allocations: 88.59 kB / 0.5488 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.443, allocations: 0.5352 MB / 0.5493 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.4431, allocations: 105.2 kB / 0.5494 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.4433, allocations: 59.84 kB / 0.5495 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.4449, allocations: 0.8251 MB / 0.5503 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.445, allocations: 7.938 kB / 0.5503 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.4451, allocations: 31.98 kB / 0.5503 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/0.4452, allocations: 36.98 kB / 0.5504 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4463, allocations: 0.6399 MB / 0.551 GB, free: 10.55 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.005319/0.4517, allocations: 4.333 MB / 0.5552 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.4523, allocations: 350.4 kB / 0.5555 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.4527, allocations: 173.3 kB / 0.5557 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/0.4547, allocations: 1.706 MB / 0.5574 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4548, allocations: 46.48 kB / 0.5574 GB, free: 3.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.4548, allocations: 0 / 0.5574 GB, free: 3.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.003805/0.4586, allocations: 1.422 MB / 0.5588 GB, free: 1.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.4587, allocations: 136.5 kB / 0.5589 GB, free: 1.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.4595, allocations: 0.6251 MB / 0.5595 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.4596, allocations: 37.7 kB / 0.5596 GB, free: 1.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.4599, allocations: 411.4 kB / 0.56 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.46, allocations: 142.8 kB / 0.5601 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.4602, allocations: 146.6 kB / 0.5603 GB, free: 376 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4604, allocations: 378.8 kB / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.4607, allocations: 189.7 kB / 0.5608 GB, free: 15.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.4613, allocations: 0.552 MB / 0.5613 GB, free: 15.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.4622, allocations: 0.7805 MB / 0.5621 GB, free: 14.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4622, allocations: 7.938 kB / 0.5621 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001475/0.4637, allocations: 0.83 MB / 0.5629 GB, free: 13.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4637, allocations: 16.09 kB / 0.5629 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.4637, allocations: 19.98 kB / 0.5629 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.4642, allocations: 92.8 kB / 0.563 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.4649, allocations: 183.7 kB / 0.5632 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005963/0.4655, allocations: 0.6732 MB / 0.5639 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.4661, allocations: 36.05 kB / 0.5639 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.4662, allocations: 36 kB / 0.5639 GB, free: 12.21 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.0003598/0.4665, allocations: 253.5 kB / 0.5642 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.4667, allocations: 71.58 kB / 0.5642 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009051/0.4676, allocations: 0.5 MB / 0.5647 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4676, allocations: 4 kB / 0.5647 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4676, allocations: 0 / 0.5647 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4677, allocations: 7.984 kB / 0.5647 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.4696, allocations: 1.218 MB / 0.5659 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4696, allocations: 7.984 kB / 0.5659 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.4699, allocations: 71.91 kB / 0.566 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.4701, allocations: 45.33 kB / 0.5661 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.4701, allocations: 12 kB / 0.5661 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003434/0.4705, allocations: 0.564 MB / 0.5666 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4705, allocations: 0 / 0.5666 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.4715, allocations: 0.7419 MB / 0.5673 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.4718, allocations: 192.6 kB / 0.5675 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4719, allocations: 12 kB / 0.5675 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.4724, allocations: 16 kB / 0.5676 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.4725, allocations: 35.95 kB / 0.5676 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4725, allocations: 23.98 kB / 0.5676 GB, free: 8.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006028/0.4731, allocations: 475 kB / 0.5681 GB, free: 7.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4731, allocations: 0 / 0.5681 GB, free: 7.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009812/0.4741, allocations: 195.9 kB / 0.5682 GB, free: 7.578 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.001971/0.4761, allocations: 1.418 MB / 0.5696 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.4773, allocations: 497.2 kB / 0.5701 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4773, allocations: 4 kB / 0.5701 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.4776, allocations: 185.2 kB / 0.5703 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.4795, allocations: 369 kB / 0.5706 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009666/0.4892, allocations: 6.321 MB / 0.5768 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.4898, allocations: 0.9417 MB / 0.5777 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007569/0.4905, allocations: 212.5 kB / 0.5779 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.4909, allocations: 235.3 kB / 0.5782 GB, free: 12.85 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4909, allocations: 3.938 kB / 0.5782 GB, free: 12.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/0.5391, allocations: 20.61 MB / 0.5983 GB, free: 8.609 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.59, allocations: 4.5 kB / 0.5983 GB, free: 8.605 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