Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_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.001113/0.001113, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001038/0.001039, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.209/0.209, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 75.02 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1015, allocations: 57.78 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03015/0.1316, allocations: 30.07 MB / 470.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006678/0.1384, allocations: 4.569 MB / 475.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005433/0.1389, allocations: 19.88 kB / 475.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.1398, allocations: 298.1 kB / 475.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004564/0.1444, allocations: 1.832 MB / 477.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.1481, allocations: 1.545 MB / 479 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.1504, allocations: 1.856 MB / 480.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.1511, allocations: 473.4 kB / 481.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.1568, allocations: 3.491 MB / 484.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.1587, allocations: 1.379 MB / 486.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.1589, allocations: 63.94 kB / 486.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.1621, allocations: 1.446 MB / 487.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.1625, allocations: 267.2 kB / 487.9 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.1631, allocations: 398.2 kB / 488.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.1654, allocations: 1.48 MB / 489.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1654, allocations: 0 / 489.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1654, allocations: 4 kB / 489.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1654, allocations: 3.938 kB / 489.8 MB, free: 5.492 MB / 366.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.002203/0.1676, allocations: 1.153 MB / 490.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1677, allocations: 11.89 kB / 491 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.1678, allocations: 94.7 kB / 491 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.1688, allocations: 151.9 kB / 491.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.1696, allocations: 0.5131 MB / 491.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.1697, allocations: 101 kB / 491.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/0.1698, allocations: 56.11 kB / 491.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.1712, allocations: 0.8356 MB / 492.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1712, allocations: 3.938 kB / 492.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.1713, allocations: 28 kB / 492.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/0.1714, allocations: 36.98 kB / 492.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1725, allocations: 0.6087 MB / 493.4 MB, free: 1.715 MB / 366.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.005233/0.1778, allocations: 4.896 MB / 498.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.1784, allocations: 331.3 kB / 498.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.1787, allocations: 140.8 kB / 498.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004968/0.1792, allocations: 0.6097 MB / 499.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1792, allocations: 38.56 kB / 499.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.1792, allocations: 4 kB / 499.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00404/0.1833, allocations: 1.527 MB / 0.4892 GB, free: 9.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.1834, allocations: 132.5 kB / 0.4893 GB, free: 9.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.1842, allocations: 0.6563 MB / 0.4899 GB, free: 8.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.1842, allocations: 33.7 kB / 0.49 GB, free: 8.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.1846, allocations: 386.6 kB / 0.4903 GB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.1847, allocations: 138.1 kB / 0.4905 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.185, allocations: 154.4 kB / 0.4906 GB, free: 8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1852, allocations: 374.8 kB / 0.491 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.1855, allocations: 205.9 kB / 0.4912 GB, free: 7.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.1861, allocations: 0.5019 MB / 0.4917 GB, free: 6.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.187, allocations: 0.721 MB / 0.4924 GB, free: 5.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.187, allocations: 0 / 0.4924 GB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001698/0.1887, allocations: 0.8913 MB / 0.4932 GB, free: 5.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1888, allocations: 8 kB / 0.4932 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.1888, allocations: 15.98 kB / 0.4933 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.1901, allocations: 293.8 kB / 0.4935 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.1905, allocations: 119.8 kB / 0.4936 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.1917, allocations: 1.401 MB / 0.495 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.1922, allocations: 32.05 kB / 0.495 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.1923, allocations: 44 kB / 0.4951 GB, free: 3.066 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.0003224/0.1926, allocations: 254.7 kB / 0.4953 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.1927, allocations: 71.09 kB / 0.4954 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.1943, allocations: 0.6493 MB / 0.496 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1944, allocations: 4 kB / 0.496 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1944, allocations: 0 / 0.496 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1944, allocations: 3.984 kB / 0.496 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.1963, allocations: 1.232 MB / 0.4972 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1963, allocations: 0 / 0.4972 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1965, allocations: 35.98 kB / 0.4973 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008552/0.1973, allocations: 217.5 kB / 0.4975 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.1974, allocations: 11.98 kB / 0.4975 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.1984, allocations: 1.304 MB / 0.4988 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1984, allocations: 0 / 0.4988 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1998, allocations: 0.8104 MB / 0.4996 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.2001, allocations: 188.3 kB / 0.4997 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2002, allocations: 4 kB / 0.4997 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.2006, allocations: 23.92 kB / 0.4998 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.2007, allocations: 23.97 kB / 0.4998 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.2007, allocations: 23.98 kB / 0.4998 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005743/0.2013, allocations: 455 kB / 0.5002 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2013, allocations: 0 / 0.5002 GB, free: 13.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009059/0.2022, allocations: 296 kB / 0.5005 GB, free: 13.3 MB / 398.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.002248/0.2045, allocations: 1.611 MB / 0.5021 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.2057, allocations: 0.554 MB / 0.5026 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2057, allocations: 3.938 kB / 0.5026 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.2062, allocations: 229 kB / 0.5029 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.2077, allocations: 344.4 kB / 0.5032 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009191/0.2169, allocations: 6.38 MB / 0.5094 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.2176, allocations: 0.9303 MB / 0.5103 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008723/0.2185, allocations: 201.7 kB / 0.5105 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.2189, allocations: 231.3 kB / 0.5107 GB, free: 2.422 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2189, allocations: 0 / 0.5107 GB, free: 2.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2499/0.4688, allocations: 22.77 MB / 0.533 GB, free: 93.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.01, allocations: 17.06 kB / 0.533 GB, free: 93.68 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches