Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.001664/0.001664, allocations: 104.1 kB / 17.58 MB, free: 5.426 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.001815/0.001815, allocations: 187.9 kB / 18.5 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.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.002526/0.002526, allocations: 52.61 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1539, allocations: 46.64 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02829/0.1823, allocations: 12.84 MB / 340.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.1869, allocations: 1.713 MB / 342 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.1875, allocations: 4 kB / 342 MB, free: 5.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1886, allocations: 174.9 kB / 342.1 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.1902, allocations: 310.3 kB / 342.4 MB, free: 5.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1923, allocations: 419 kB / 342.8 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.1941, allocations: 0.8251 MB / 343.7 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.1945, allocations: 92.67 kB / 343.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.1961, allocations: 398.6 kB / 344.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.1969, allocations: 254.9 kB / 344.4 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.197, allocations: 28 kB / 344.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.1976, allocations: 107.8 kB / 344.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.1979, allocations: 95.72 kB / 344.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.1984, allocations: 183.2 kB / 344.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.1995, allocations: 462.9 kB / 345.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1995, allocations: 0 / 345.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1996, allocations: 0 / 345.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.1996, allocations: 4 kB / 345.3 MB, free: 2.438 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001881/0.2015, allocations: 0.5847 MB / 345.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.2016, allocations: 8.031 kB / 345.8 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.2018, allocations: 66.72 kB / 345.9 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.2023, allocations: 48.58 kB / 346 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.203, allocations: 283.7 kB / 346.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.203, allocations: 16.94 kB / 346.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.2031, allocations: 24.38 kB / 346.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/0.204, allocations: 321.3 kB / 346.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.204, allocations: 3.906 kB / 346.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.2041, allocations: 12 kB / 346.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.2041, allocations: 8 kB / 346.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.2048, allocations: 197.5 kB / 346.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.2085, allocations: 1.736 MB / 348.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.209, allocations: 138.5 kB / 348.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2092, allocations: 64.84 kB / 348.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.2095, allocations: 170.2 kB / 348.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.2095, allocations: 30.56 kB / 348.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 3.376e-06/0.2095, allocations: 8 kB / 348.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00322/0.2128, allocations: 0.7884 MB / 349.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.2129, allocations: 59.34 kB / 349.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.2134, allocations: 278.5 kB / 350.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.2134, allocations: 29.7 kB / 350.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.2137, allocations: 203.5 kB / 350.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/0.2138, allocations: 75 kB / 350.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.2139, allocations: 69.39 kB / 350.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2142, allocations: 338.8 kB / 350.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.2144, allocations: 71.95 kB / 350.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.2148, allocations: 187.2 kB / 351 MB, free: 12.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.2154, allocations: 291.2 kB / 351.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.2154, allocations: 0 / 351.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009418/0.2164, allocations: 329.7 kB / 351.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.2164, allocations: 11.94 kB / 351.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.2164, allocations: 7.938 kB / 351.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.2166, allocations: 24.84 kB / 351.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.2172, allocations: 84.39 kB / 351.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.2194, allocations: 1.398 MB / 353.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.2198, allocations: 16 kB / 353.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.2199, allocations: 12 kB / 353.2 MB, free: 9.801 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.2202, allocations: 161.6 kB / 353.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.2204, allocations: 27.72 kB / 353.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.221, allocations: 208.7 kB / 353.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.221, allocations: 0 / 353.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.2211, allocations: 4 kB / 353.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007285/0.2218, allocations: 483.7 kB / 354 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.2239, allocations: 0.7799 MB / 354.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.224, allocations: 4 kB / 354.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.2242, allocations: 43.97 kB / 354.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.2243, allocations: 0 / 354.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.2243, allocations: 15.88 kB / 354.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2243, allocations: 4 kB / 354.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.2243, allocations: 8.281 kB / 354.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.2252, allocations: 403.2 kB / 355.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.2253, allocations: 100.8 kB / 355.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.2254, allocations: 8 kB / 355.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.2258, allocations: 15.98 kB / 355.4 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.226, allocations: 16.05 kB / 355.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.226, allocations: 19.92 kB / 355.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003475/0.2264, allocations: 202 kB / 355.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2264, allocations: 0 / 355.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008934/0.2273, allocations: 99.94 kB / 355.7 MB, free: 6.969 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/0.2292, allocations: 0.9617 MB / 356.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009685/0.2302, allocations: 314.3 kB / 357 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.2302, allocations: 4.938 kB / 357 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.2304, allocations: 80.03 kB / 357.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.2321, allocations: 161.2 kB / 357.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006701/0.2388, allocations: 3.082 MB / 360.3 MB, free: 2.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.2395, allocations: 0.7561 MB / 361.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006371/0.2402, allocations: 64.59 kB / 361.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.2404, allocations: 87.41 kB / 361.2 MB, free: 1.137 MB / 302.1 MB Notification: Performance of SimCode: time 1.643e-06/0.2404, allocations: 0 / 361.2 MB, free: 1.137 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/0.2962, allocations: 8.603 MB / 369.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/18.84, allocations: 12.23 kB / 369.8 MB, free: 8.453 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.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 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches