Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_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.001059/0.001059, allocations: 106.9 kB / 16.27 MB, free: 6 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.001098/0.001098, allocations: 186 kB / 17.19 MB, free: 5.621 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.503/1.503, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2185/0.2185, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001578/0.001578, allocations: 72.56 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1122, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0186/0.1308, allocations: 16.42 MB / 457.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.138, allocations: 5.465 MB / 462.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006478/0.1386, allocations: 19.88 kB / 462.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008529/0.1396, allocations: 318 kB / 462.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.1413, allocations: 0.816 MB / 463.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.1437, allocations: 1.008 MB / 464.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.1456, allocations: 1.774 MB / 466.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006268/0.1463, allocations: 469.3 kB / 466.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1474, allocations: 0.7396 MB / 467.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007794/0.1482, allocations: 0.6149 MB / 468.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.1483, allocations: 60 kB / 468.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008365/0.1491, allocations: 335.5 kB / 468.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.1494, allocations: 267.3 kB / 468.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.1498, allocations: 402.2 kB / 469.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1511, allocations: 1.094 MB / 470.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1511, allocations: 0 / 470.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1511, allocations: 4 kB / 470.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1511, allocations: 0 / 470.4 MB, free: 8.934 MB / 350.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.001823/0.153, allocations: 1.048 MB / 471.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.153, allocations: 8.031 kB / 471.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.1531, allocations: 94.7 kB / 471.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.1535, allocations: 96.08 kB / 471.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.1542, allocations: 0.5092 MB / 472.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1543, allocations: 105 kB / 472.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.705e-05/0.1544, allocations: 52.11 kB / 472.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1556, allocations: 0.8347 MB / 473.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1557, allocations: 4 kB / 473.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.1557, allocations: 24 kB / 473.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/0.1558, allocations: 40.92 kB / 473.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009778/0.1568, allocations: 0.6399 MB / 473.8 MB, free: 5.301 MB / 350.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.004238/0.161, allocations: 4.355 MB / 478.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.1616, allocations: 349.8 kB / 478.5 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1619, allocations: 169.3 kB / 478.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/0.1636, allocations: 1.709 MB / 480.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1637, allocations: 42.55 kB / 480.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 4.579e-06/0.1637, allocations: 3.984 kB / 480.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.003394/0.1671, allocations: 1.391 MB / 481.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.1672, allocations: 132.5 kB / 482 MB, free: 12.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.1678, allocations: 0.6327 MB / 482.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.1679, allocations: 41.64 kB / 482.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.1682, allocations: 394.4 kB / 483 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.1683, allocations: 134.1 kB / 483.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.1685, allocations: 146.5 kB / 483.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1686, allocations: 374.8 kB / 483.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.1689, allocations: 189.9 kB / 483.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.1695, allocations: 0.552 MB / 484.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.1703, allocations: 0.7874 MB / 485.2 MB, free: 8.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1704, allocations: 3.938 kB / 485.2 MB, free: 8.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001268/0.1716, allocations: 0.822 MB / 486 MB, free: 8.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1717, allocations: 16 kB / 486 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.1717, allocations: 12 kB / 486.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.1721, allocations: 96.8 kB / 486.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.1727, allocations: 183.7 kB / 486.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005559/0.1733, allocations: 0.6733 MB / 487 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.1738, allocations: 31.94 kB / 487 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.1739, allocations: 36 kB / 487.1 MB, free: 6.996 MB / 366.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.000297/0.1742, allocations: 261.4 kB / 487.3 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1743, allocations: 67.16 kB / 487.4 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/0.1751, allocations: 0.5153 MB / 487.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1751, allocations: 4 kB / 487.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1751, allocations: 0 / 487.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1751, allocations: 0 / 487.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.1768, allocations: 1.223 MB / 489.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1768, allocations: 64 / 489.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1771, allocations: 75.91 kB / 489.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.1773, allocations: 40.97 kB / 489.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.1774, allocations: 15.92 kB / 489.3 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003701/0.1777, allocations: 0.5681 MB / 489.8 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1777, allocations: 4 kB / 489.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.1787, allocations: 0.7249 MB / 490.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.1789, allocations: 188.1 kB / 490.7 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.179, allocations: 20.06 kB / 490.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.1794, allocations: 15.98 kB / 490.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1795, allocations: 35.84 kB / 490.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.1795, allocations: 19.98 kB / 490.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005532/0.1801, allocations: 479 kB / 491.3 MB, free: 2.547 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1801, allocations: 0 / 491.3 MB, free: 2.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007711/0.1809, allocations: 207.9 kB / 491.5 MB, free: 2.344 MB / 366.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.001499/0.1824, allocations: 1.382 MB / 492.9 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1835, allocations: 0.5387 MB / 493.4 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1835, allocations: 0 / 493.4 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.1838, allocations: 180.7 kB / 493.6 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.1855, allocations: 366.6 kB / 494 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.1934, allocations: 6.564 MB / 0.4888 GB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.1939, allocations: 0.9417 MB / 0.4897 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007319/0.1946, allocations: 210.3 kB / 0.4899 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.1949, allocations: 231.4 kB / 0.4901 GB, free: 7.383 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1949, allocations: 0 / 0.4901 GB, free: 7.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.2446, allocations: 20.34 MB / 0.51 GB, free: 3.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.69, allocations: 12.38 kB / 0.51 GB, free: 3.012 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches