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.001197/0.001196, allocations: 113.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.001282/0.001283, allocations: 179.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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.222/0.222, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4063, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02744/0.4338, allocations: 24.98 MB / 0.5428 GB, free: 316 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00727/0.4411, allocations: 4.367 MB / 0.5471 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009277/0.442, allocations: 18.47 kB / 0.5471 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.4431, allocations: 304.9 kB / 0.5474 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004537/0.4477, allocations: 1.647 MB / 0.549 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.4513, allocations: 1.391 MB / 0.5504 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.4538, allocations: 1.844 MB / 0.5522 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.4546, allocations: 478 kB / 0.5526 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.46, allocations: 3.371 MB / 0.5559 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.4621, allocations: 1.391 MB / 0.5573 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.4622, allocations: 60 kB / 0.5573 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.4647, allocations: 1.341 MB / 0.5587 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.465, allocations: 267.2 kB / 0.5589 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.4655, allocations: 402.1 kB / 0.5593 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.4674, allocations: 1.374 MB / 0.5606 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4675, allocations: 0 / 0.5606 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4675, allocations: 0 / 0.5606 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.4675, allocations: 0 / 0.5606 GB, free: 0.8164 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.002117/0.4696, allocations: 1.152 MB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.499e-05/0.4697, allocations: 12.02 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.4698, allocations: 98.69 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/0.4708, allocations: 144.4 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000869/0.4717, allocations: 0.5408 MB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4718, allocations: 112.5 kB / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.4719, allocations: 48 kB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4732, allocations: 0.8317 MB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.4733, allocations: 3.938 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.4734, allocations: 24 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.512e-05/0.4734, allocations: 40.98 kB / 0.5636 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4745, allocations: 0.6086 MB / 0.5642 GB, free: 13.01 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.004963/0.4795, allocations: 4.691 MB / 0.5687 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.4802, allocations: 326.7 kB / 0.569 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.4804, allocations: 145.3 kB / 0.5692 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/0.4808, allocations: 425.5 kB / 0.5696 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4808, allocations: 38.56 kB / 0.5696 GB, free: 6.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.4808, allocations: 0 / 0.5696 GB, free: 6.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.004031/0.4849, allocations: 1.532 MB / 0.5711 GB, free: 5.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.485, allocations: 136.5 kB / 0.5713 GB, free: 5.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.4859, allocations: 0.6603 MB / 0.5719 GB, free: 4.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.4859, allocations: 33.64 kB / 0.5719 GB, free: 4.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.4863, allocations: 399.7 kB / 0.5723 GB, free: 4.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.4864, allocations: 146.8 kB / 0.5725 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.4867, allocations: 146.6 kB / 0.5726 GB, free: 3.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4869, allocations: 374.8 kB / 0.5729 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.4872, allocations: 205.9 kB / 0.5731 GB, free: 3.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.4878, allocations: 0.5056 MB / 0.5736 GB, free: 2.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/0.4887, allocations: 0.7131 MB / 0.5743 GB, free: 1.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4887, allocations: 4 kB / 0.5743 GB, free: 1.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001507/0.4903, allocations: 0.8914 MB / 0.5752 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.4903, allocations: 12 kB / 0.5752 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4903, allocations: 8 kB / 0.5752 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.4915, allocations: 282.2 kB / 0.5755 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.4919, allocations: 123.8 kB / 0.5756 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.4932, allocations: 1.4 MB / 0.577 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.4936, allocations: 24 kB / 0.577 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.4937, allocations: 44 kB / 0.577 GB, free: 14.85 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.0003348/0.4941, allocations: 249.7 kB / 0.5773 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.4942, allocations: 75.47 kB / 0.5774 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4957, allocations: 0.7169 MB / 0.5781 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.4957, allocations: 8 kB / 0.5781 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4958, allocations: 0 / 0.5781 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4958, allocations: 3.984 kB / 0.5781 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.4977, allocations: 1.205 MB / 0.5792 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4977, allocations: 0 / 0.5792 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.4979, allocations: 48.03 kB / 0.5793 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/0.4988, allocations: 201.4 kB / 0.5795 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.4988, allocations: 15.98 kB / 0.5795 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.4999, allocations: 1.292 MB / 0.5808 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4999, allocations: 3.938 kB / 0.5808 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5012, allocations: 0.8074 MB / 0.5816 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.5015, allocations: 184.6 kB / 0.5817 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.5016, allocations: 15.94 kB / 0.5817 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.5019, allocations: 15.98 kB / 0.5818 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.502, allocations: 28.03 kB / 0.5818 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.5021, allocations: 23.98 kB / 0.5818 GB, free: 9.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005087/0.5026, allocations: 451 kB / 0.5822 GB, free: 9.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5026, allocations: 0 / 0.5822 GB, free: 9.324 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000824/0.5034, allocations: 255.7 kB / 0.5825 GB, free: 9.074 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.00206/0.5055, allocations: 1.534 MB / 0.584 GB, free: 7.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.5066, allocations: 0.5189 MB / 0.5845 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5066, allocations: 3.938 kB / 0.5845 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.5071, allocations: 220.8 kB / 0.5847 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.5086, allocations: 340.5 kB / 0.585 GB, free: 6.438 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008158/0.5167, allocations: 6.147 MB / 0.591 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.5172, allocations: 0.9225 MB / 0.5919 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006997/0.518, allocations: 261.7 kB / 0.5922 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.5183, allocations: 227.3 kB / 0.5924 GB, free: 14.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5183, allocations: 0 / 0.5924 GB, free: 14.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05032/0.5686, allocations: 22.07 MB / 0.614 GB, free: 8.809 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.04, allocations: 13.14 kB / 0.614 GB, free: 8.797 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