Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001608/0.001608, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001603/0.001603, allocations: 185 kB / 18.72 MB, free: 4.332 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2097/0.2097, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 71.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3622, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.0283/0.3906, allocations: 24.98 MB / 0.5428 GB, free: 320 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.3978, allocations: 4.359 MB / 0.5471 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007504/0.3986, allocations: 27.19 kB / 0.5471 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.3995, allocations: 296 kB / 0.5474 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004057/0.4036, allocations: 1.629 MB / 0.549 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.4073, allocations: 1.378 MB / 0.5503 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.4101, allocations: 1.848 MB / 0.5522 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.4109, allocations: 476.8 kB / 0.5526 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005938/0.4168, allocations: 3.351 MB / 0.5559 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.4194, allocations: 1.399 MB / 0.5572 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.4196, allocations: 60 kB / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.4226, allocations: 1.334 MB / 0.5586 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.423, allocations: 259.3 kB / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.4236, allocations: 406.1 kB / 0.5592 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.4263, allocations: 1.374 MB / 0.5606 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4263, allocations: 0 / 0.5606 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4263, allocations: 4 kB / 0.5606 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4263, allocations: 0 / 0.5606 GB, free: 0.8594 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0023/0.4286, allocations: 1.152 MB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4287, allocations: 12.03 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.4288, allocations: 98.69 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4298, allocations: 152.4 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/0.4307, allocations: 0.5369 MB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.4309, allocations: 108.5 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.712e-05/0.431, allocations: 48 kB / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4324, allocations: 0.8353 MB / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4325, allocations: 0 / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.4325, allocations: 31.98 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.4326, allocations: 36.98 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4338, allocations: 0.6048 MB / 0.5641 GB, free: 13.06 MB / 430.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.005465/0.4393, allocations: 4.695 MB / 0.5687 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.44, allocations: 334.6 kB / 0.569 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.4403, allocations: 137.3 kB / 0.5691 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/0.4406, allocations: 425.5 kB / 0.5695 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.4407, allocations: 46.55 kB / 0.5696 GB, free: 6.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.4407, allocations: 0 / 0.5696 GB, free: 6.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004125/0.4449, allocations: 1.52 MB / 0.5711 GB, free: 5.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.445, allocations: 132.5 kB / 0.5712 GB, free: 5.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008183/0.4458, allocations: 0.6642 MB / 0.5718 GB, free: 4.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.4458, allocations: 41.58 kB / 0.5719 GB, free: 4.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.4462, allocations: 399.7 kB / 0.5723 GB, free: 4.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4463, allocations: 142.8 kB / 0.5724 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.4465, allocations: 142.6 kB / 0.5725 GB, free: 3.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4467, allocations: 378.8 kB / 0.5729 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.4471, allocations: 201.9 kB / 0.5731 GB, free: 3.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.4477, allocations: 0.5017 MB / 0.5736 GB, free: 2.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.4488, allocations: 0.7209 MB / 0.5743 GB, free: 1.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4488, allocations: 3.938 kB / 0.5743 GB, free: 1.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001671/0.4505, allocations: 0.8954 MB / 0.5752 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4505, allocations: 8 kB / 0.5752 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.4505, allocations: 12 kB / 0.5752 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.4518, allocations: 286 kB / 0.5755 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.4522, allocations: 115.8 kB / 0.5756 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4535, allocations: 1.396 MB / 0.5769 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.454, allocations: 28 kB / 0.577 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/0.4541, allocations: 43.98 kB / 0.577 GB, free: 14.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000343/0.4544, allocations: 241.5 kB / 0.5772 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.4546, allocations: 83.59 kB / 0.5773 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.4562, allocations: 0.7171 MB / 0.578 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4563, allocations: 4 kB / 0.578 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4563, allocations: 0 / 0.578 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4563, allocations: 4 kB / 0.578 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.4583, allocations: 1.213 MB / 0.5792 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4583, allocations: 0 / 0.5792 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.4584, allocations: 39.98 kB / 0.5792 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008573/0.4593, allocations: 201.5 kB / 0.5794 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.4594, allocations: 12 kB / 0.5794 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.4606, allocations: 1.288 MB / 0.5807 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.4606, allocations: 11.97 kB / 0.5807 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.462, allocations: 0.8114 MB / 0.5815 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.4623, allocations: 188.6 kB / 0.5817 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.4624, allocations: 12 kB / 0.5817 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.4628, allocations: 12 kB / 0.5817 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.4628, allocations: 31.94 kB / 0.5817 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.4629, allocations: 24.05 kB / 0.5818 GB, free: 9.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005883/0.4635, allocations: 451.1 kB / 0.5822 GB, free: 9.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4635, allocations: 3.938 kB / 0.5822 GB, free: 9.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008967/0.4644, allocations: 255.7 kB / 0.5824 GB, free: 9.109 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.4667, allocations: 1.527 MB / 0.5839 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.4679, allocations: 0.519 MB / 0.5844 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.4679, allocations: 3.938 kB / 0.5844 GB, free: 7.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.4684, allocations: 227.7 kB / 0.5847 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4699, allocations: 341.5 kB / 0.585 GB, free: 6.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009028/0.479, allocations: 6.132 MB / 0.591 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.4797, allocations: 0.9303 MB / 0.5919 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007587/0.4804, allocations: 257.6 kB / 0.5921 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.4808, allocations: 231.3 kB / 0.5923 GB, free: 14.54 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4808, allocations: 0 / 0.5923 GB, free: 14.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05632/0.5371, allocations: 22.08 MB / 0.6139 GB, free: 8.832 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.44, allocations: 9.078 kB / 0.6139 GB, free: 8.824 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_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_Incompressible_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches