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.001031/0.001031, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001007/0.001008, allocations: 192 kB / 18.56 MB, free: 4.434 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.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2162/0.2162, allocations: 44.18 MB / 336.6 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 61.19 kB / 408.5 MB, free: 27.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1434, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02802/0.1715, allocations: 24.99 MB / 494.4 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006426/0.178, allocations: 4.371 MB / 498.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.1786, allocations: 19.88 kB / 498.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.1794, allocations: 294.1 kB / 499 MB, free: 456 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.1833, allocations: 1.63 MB / 0.4889 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.1864, allocations: 1.365 MB / 0.4903 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.1884, allocations: 1.837 MB / 0.4921 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.1891, allocations: 489.3 kB / 0.4925 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.1941, allocations: 3.359 MB / 0.4958 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.1961, allocations: 1.387 MB / 0.4972 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.1962, allocations: 68 kB / 0.4972 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.1986, allocations: 1.283 MB / 0.4985 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.199, allocations: 271.2 kB / 0.4987 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.1995, allocations: 406.1 kB / 0.4991 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.2014, allocations: 1.36 MB / 0.5004 GB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2014, allocations: 0 / 0.5004 GB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2014, allocations: 0 / 0.5004 GB, free: 2.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.2014, allocations: 0 / 0.5004 GB, free: 2.992 MB / 382.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.002195/0.2036, allocations: 1.137 MB / 0.5016 GB, free: 1.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2037, allocations: 8.031 kB / 0.5016 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.2038, allocations: 98.64 kB / 0.5017 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.2049, allocations: 144 kB / 0.5018 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/0.2058, allocations: 0.5054 MB / 0.5023 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.206, allocations: 108.5 kB / 0.5024 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.2061, allocations: 47.98 kB / 0.5024 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2178/0.4239, allocations: 0.8254 MB / 0.5032 GB, free: 52.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.424, allocations: 4.969 kB / 0.5033 GB, free: 52.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.4241, allocations: 27.08 kB / 0.5033 GB, free: 52.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/0.4242, allocations: 41.73 kB / 0.5033 GB, free: 52.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.4257, allocations: 0.6044 MB / 0.5039 GB, free: 52.46 MB / 382.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.004878/0.4306, allocations: 4.691 MB / 0.5085 GB, free: 48.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.4313, allocations: 331.4 kB / 0.5088 GB, free: 48.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.4315, allocations: 143.6 kB / 0.5089 GB, free: 48.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.4317, allocations: 412.2 kB / 0.5093 GB, free: 48.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.4318, allocations: 40.75 kB / 0.5094 GB, free: 48.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.4318, allocations: 0 / 0.5094 GB, free: 48.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003938/0.4357, allocations: 1.53 MB / 0.5109 GB, free: 47.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4358, allocations: 136.9 kB / 0.511 GB, free: 47.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.4366, allocations: 0.6543 MB / 0.5116 GB, free: 46.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.4366, allocations: 32.92 kB / 0.5117 GB, free: 46.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.4368, allocations: 391.9 kB / 0.512 GB, free: 46.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.4369, allocations: 132.1 kB / 0.5122 GB, free: 46.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.4371, allocations: 148.7 kB / 0.5123 GB, free: 46.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4372, allocations: 375.5 kB / 0.5127 GB, free: 45.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.4376, allocations: 200 kB / 0.5129 GB, free: 45.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.4381, allocations: 0.5093 MB / 0.5134 GB, free: 45.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/0.4388, allocations: 0.7057 MB / 0.514 GB, free: 44.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.4388, allocations: 2.438 kB / 0.514 GB, free: 44.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001581/0.4404, allocations: 0.8978 MB / 0.5149 GB, free: 44.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4405, allocations: 9.312 kB / 0.5149 GB, free: 44.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4405, allocations: 12.91 kB / 0.5149 GB, free: 44.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.4417, allocations: 277.1 kB / 0.5152 GB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.4421, allocations: 126.8 kB / 0.5153 GB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.4431, allocations: 1.396 MB / 0.5167 GB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.4437, allocations: 30.86 kB / 0.5167 GB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.4437, allocations: 44.11 kB / 0.5168 GB, free: 43.28 MB / 382.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.0003447/0.4441, allocations: 244 kB / 0.517 GB, free: 43.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4442, allocations: 73.84 kB / 0.5171 GB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.4458, allocations: 0.7254 MB / 0.5178 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4458, allocations: 9.984 kB / 0.5178 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4459, allocations: 0 / 0.5178 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4459, allocations: 1.734 kB / 0.5178 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.4479, allocations: 1.212 MB / 0.519 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4479, allocations: 0.5312 kB / 0.519 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.4481, allocations: 45.12 kB / 0.519 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009193/0.4491, allocations: 207.2 kB / 0.5192 GB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.4491, allocations: 13.14 kB / 0.5192 GB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/0.45, allocations: 1.291 MB / 0.5205 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.45, allocations: 1.906 kB / 0.5205 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.4514, allocations: 0.8037 MB / 0.5213 GB, free: 40.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.4517, allocations: 189.6 kB / 0.5215 GB, free: 40.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4518, allocations: 11.45 kB / 0.5215 GB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.4522, allocations: 14.33 kB / 0.5215 GB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.4523, allocations: 23.75 kB / 0.5215 GB, free: 40.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.4523, allocations: 18.92 kB / 0.5215 GB, free: 40.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006248/0.453, allocations: 458.1 kB / 0.522 GB, free: 40.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.453, allocations: 3.25 kB / 0.522 GB, free: 40.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009221/0.4539, allocations: 255.7 kB / 0.5222 GB, free: 40.09 MB / 382.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.002095/0.456, allocations: 1.529 MB / 0.5237 GB, free: 39.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.4574, allocations: 0.5512 MB / 0.5242 GB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.4574, allocations: 1.312 kB / 0.5242 GB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.4579, allocations: 225.5 kB / 0.5245 GB, free: 38.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.4594, allocations: 345.1 kB / 0.5248 GB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/0.4672, allocations: 6.348 MB / 0.531 GB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.4676, allocations: 0.9283 MB / 0.5319 GB, free: 33.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008839/0.4684, allocations: 255.4 kB / 0.5321 GB, free: 33.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.4687, allocations: 222.8 kB / 0.5323 GB, free: 33.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.4687, allocations: 0 / 0.5323 GB, free: 33.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.5095, allocations: 21.8 MB / 0.5536 GB, free: 12.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.97, allocations: 10.45 kB / 0.5536 GB, free: 12.58 MB / 382.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