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.002112/0.002112, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.002103/0.002103, 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2281/0.2281, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01897/0.3791, allocations: 16.42 MB / 0.5345 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008758/0.3879, allocations: 5.452 MB / 0.5398 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.3886, allocations: 23.91 kB / 0.5398 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.3896, allocations: 325.2 kB / 0.5401 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.3916, allocations: 0.8215 MB / 0.5409 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.3943, allocations: 0.9941 MB / 0.5419 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.3966, allocations: 1.777 MB / 0.5436 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007358/0.3974, allocations: 464.2 kB / 0.5441 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.3987, allocations: 0.7442 MB / 0.5448 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.3997, allocations: 0.6106 MB / 0.5454 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3998, allocations: 58.94 kB / 0.5455 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009549/0.4008, allocations: 354.8 kB / 0.5458 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.4011, allocations: 261 kB / 0.5461 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.4016, allocations: 391.1 kB / 0.5464 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.4032, allocations: 1.123 MB / 0.5475 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4033, allocations: 0 / 0.5475 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4033, allocations: 3.938 kB / 0.5475 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4033, allocations: 1.156 kB / 0.5475 GB, free: 13.68 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.002154/0.4054, allocations: 1.066 MB / 0.5486 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4055, allocations: 8.906 kB / 0.5486 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.4056, allocations: 107.8 kB / 0.5487 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.406, allocations: 88.91 kB / 0.5488 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.4069, allocations: 0.5353 MB / 0.5493 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.4071, allocations: 105.7 kB / 0.5494 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.4072, allocations: 51.16 kB / 0.5494 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.4085, allocations: 0.8345 MB / 0.5503 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.4086, allocations: 0 / 0.5503 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.4086, allocations: 27.98 kB / 0.5503 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.946e-05/0.4087, allocations: 40.98 kB / 0.5503 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.4099, allocations: 0.6399 MB / 0.5509 GB, free: 10.58 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.00507/0.415, allocations: 4.341 MB / 0.5552 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.4157, allocations: 358.8 kB / 0.5555 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.416, allocations: 169.3 kB / 0.5557 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/0.4183, allocations: 1.706 MB / 0.5574 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.4184, allocations: 46.5 kB / 0.5574 GB, free: 3.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.4184, allocations: 0 / 0.5574 GB, free: 3.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.003973/0.4224, allocations: 1.414 MB / 0.5588 GB, free: 1.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.939e-05/0.4225, allocations: 136.5 kB / 0.5589 GB, free: 1.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008603/0.4234, allocations: 0.6251 MB / 0.5595 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.4234, allocations: 37.7 kB / 0.5596 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.4238, allocations: 411.4 kB / 0.5599 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.4239, allocations: 146.8 kB / 0.5601 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.4241, allocations: 142.6 kB / 0.5602 GB, free: 404 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4244, allocations: 374.8 kB / 0.5606 GB, free: 20 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.4247, allocations: 190 kB / 0.5608 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.4254, allocations: 0.552 MB / 0.5613 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.4264, allocations: 0.7804 MB / 0.5621 GB, free: 14.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.4265, allocations: 11.94 kB / 0.5621 GB, free: 14.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001419/0.4279, allocations: 0.8336 MB / 0.5629 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4279, allocations: 8 kB / 0.5629 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4279, allocations: 12 kB / 0.5629 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.4284, allocations: 100.7 kB / 0.563 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.429, allocations: 180 kB / 0.5632 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006219/0.4297, allocations: 0.6732 MB / 0.5638 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.4302, allocations: 31.98 kB / 0.5639 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.4302, allocations: 36 kB / 0.5639 GB, free: 12.24 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.0003527/0.4306, allocations: 257.5 kB / 0.5641 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4307, allocations: 67.58 kB / 0.5642 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.4316, allocations: 0.4993 MB / 0.5647 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4317, allocations: 4 kB / 0.5647 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4317, allocations: 144 / 0.5647 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4317, allocations: 7.969 kB / 0.5647 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.4336, allocations: 1.226 MB / 0.5659 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4337, allocations: 3.984 kB / 0.5659 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.434, allocations: 75.97 kB / 0.566 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.4342, allocations: 40.83 kB / 0.566 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.4342, allocations: 8 kB / 0.566 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000411/0.4346, allocations: 0.564 MB / 0.5666 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4346, allocations: 8.125 kB / 0.5666 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.4357, allocations: 0.7301 MB / 0.5673 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.436, allocations: 196.6 kB / 0.5675 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/0.4362, allocations: 12 kB / 0.5675 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4365, allocations: 16.06 kB / 0.5675 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.4366, allocations: 39.83 kB / 0.5675 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.4367, allocations: 16 kB / 0.5676 GB, free: 8.262 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006461/0.4373, allocations: 479 kB / 0.568 GB, free: 7.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4373, allocations: 0 / 0.568 GB, free: 7.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00092/0.4382, allocations: 199.9 kB / 0.5682 GB, free: 7.605 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.001874/0.4401, allocations: 1.404 MB / 0.5696 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.4413, allocations: 0.4979 MB / 0.5701 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4413, allocations: 0 / 0.5701 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.4417, allocations: 188.7 kB / 0.5702 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.4435, allocations: 372.7 kB / 0.5706 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.4528, allocations: 6.326 MB / 0.5768 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.4534, allocations: 0.9338 MB / 0.5777 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000722/0.4542, allocations: 208 kB / 0.5779 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.4545, allocations: 239.3 kB / 0.5781 GB, free: 12.88 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4545, allocations: 0 / 0.5781 GB, free: 12.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05526/0.5098, allocations: 20.61 MB / 0.5983 GB, free: 8.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.05, allocations: 3.562 kB / 0.5983 GB, free: 8.641 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