Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 80.53 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9846/0.9846, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1418/0.1418, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.52e-05, allocations: 9.516 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3755/0.3755, allocations: 156.4 MB / 0.55 GB, free: 11.51 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006615/0.3822, allocations: 5.291 MB / 0.5552 GB, free: 6.203 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.3828, allocations: 27.75 kB / 0.5552 GB, free: 6.176 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.3836, allocations: 309.9 kB / 0.5555 GB, free: 5.871 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.3869, allocations: 1.629 MB / 0.5571 GB, free: 4.238 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.3896, allocations: 1.291 MB / 0.5584 GB, free: 2.945 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.3917, allocations: 1.883 MB / 0.5602 GB, free: 1.059 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.3923, allocations: 405.4 kB / 0.5606 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.3945, allocations: 1.488 MB / 0.5621 GB, free: 15.16 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.3955, allocations: 0.7243 MB / 0.5628 GB, free: 14.44 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.733e-05/0.3956, allocations: 60 kB / 0.5628 GB, free: 14.38 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.3969, allocations: 0.7448 MB / 0.5636 GB, free: 13.63 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.3971, allocations: 287.1 kB / 0.5638 GB, free: 13.35 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.3973, allocations: 287.4 kB / 0.5641 GB, free: 13.07 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.3993, allocations: 1.539 MB / 0.5656 GB, free: 11.53 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3993, allocations: 0 / 0.5656 GB, free: 11.53 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3993, allocations: 0 / 0.5656 GB, free: 11.53 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3993, allocations: 0 / 0.5656 GB, free: 11.53 MB / 474.7 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.001651/0.4009, allocations: 1.069 MB / 0.5666 GB, free: 10.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.401, allocations: 8.031 kB / 0.5667 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.948e-05/0.4011, allocations: 102.5 kB / 0.5668 GB, free: 10.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.4016, allocations: 139.4 kB / 0.5669 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.4022, allocations: 485.4 kB / 0.5673 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.4023, allocations: 149.1 kB / 0.5675 GB, free: 9.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.4024, allocations: 51.98 kB / 0.5675 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.4034, allocations: 1.169 MB / 0.5687 GB, free: 8.113 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.4034, allocations: 3.938 kB / 0.5687 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.4035, allocations: 25.88 kB / 0.5687 GB, free: 8.086 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/0.4035, allocations: 40.97 kB / 0.5687 GB, free: 8.047 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.4043, allocations: 0.6166 MB / 0.5694 GB, free: 7.43 MB / 474.7 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.003301/0.4076, allocations: 3.313 MB / 0.5726 GB, free: 3.992 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.408, allocations: 335.1 kB / 0.5729 GB, free: 3.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.4082, allocations: 165.3 kB / 0.5731 GB, free: 3.496 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.4085, allocations: 134.1 kB / 0.5732 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4085, allocations: 38.84 kB / 0.5732 GB, free: 3.316 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/0.4085, allocations: 3.938 kB / 0.5732 GB, free: 3.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.003424/0.4119, allocations: 1.596 MB / 0.5748 GB, free: 1.664 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.412, allocations: 140.5 kB / 0.5749 GB, free: 1.496 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.4126, allocations: 0.6249 MB / 0.5755 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.4126, allocations: 37.7 kB / 0.5756 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.4128, allocations: 375.8 kB / 0.5759 GB, free: 456 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.4129, allocations: 150.7 kB / 0.5761 GB, free: 304 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.413, allocations: 158.6 kB / 0.5762 GB, free: 140 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4132, allocations: 374.8 kB / 0.5766 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.4134, allocations: 202.6 kB / 0.5768 GB, free: 15.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.4139, allocations: 0.5958 MB / 0.5774 GB, free: 14.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.4145, allocations: 0.7409 MB / 0.5781 GB, free: 13.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4145, allocations: 4 kB / 0.5781 GB, free: 13.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001262/0.4158, allocations: 0.8728 MB / 0.5789 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4158, allocations: 12 kB / 0.5789 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4158, allocations: 8 kB / 0.579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000815/0.4166, allocations: 330.7 kB / 0.5793 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.4169, allocations: 115.8 kB / 0.5794 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007539/0.4176, allocations: 0.9309 MB / 0.5803 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.4179, allocations: 27.98 kB / 0.5803 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.418, allocations: 64 kB / 0.5804 GB, free: 11.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.4183, allocations: 251.8 kB / 0.5806 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.4183, allocations: 75.52 kB / 0.5807 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009075/0.4193, allocations: 0.6775 MB / 0.5814 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4193, allocations: 4 kB / 0.5814 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4193, allocations: 0 / 0.5814 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4193, allocations: 7.984 kB / 0.5814 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.4207, allocations: 1.226 MB / 0.5826 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4207, allocations: 0.875 kB / 0.5826 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/0.4213, allocations: 211.7 kB / 0.5828 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.553e-05/0.4214, allocations: 24.97 kB / 0.5828 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.4214, allocations: 19.98 kB / 0.5828 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.4229, allocations: 2.659 MB / 0.5854 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4229, allocations: 3.938 kB / 0.5854 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4241, allocations: 0.8055 MB / 0.5862 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.4243, allocations: 123.4 kB / 0.5863 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.4244, allocations: 8 kB / 0.5863 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.4246, allocations: 19.98 kB / 0.5863 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.4247, allocations: 43.88 kB / 0.5864 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.4247, allocations: 39.98 kB / 0.5864 GB, free: 5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003759/0.4251, allocations: 443.2 kB / 0.5868 GB, free: 4.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.4251, allocations: 0 / 0.5868 GB, free: 4.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007342/0.4258, allocations: 303.5 kB / 0.5871 GB, free: 4.273 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/0.4275, allocations: 1.632 MB / 0.5887 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008494/0.4284, allocations: 0.5274 MB / 0.5892 GB, free: 2.078 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4284, allocations: 0.5625 kB / 0.5892 GB, free: 2.078 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.429, allocations: 406.5 kB / 0.5896 GB, free: 1.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009991/0.43, allocations: 373.1 kB / 0.59 GB, free: 1.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/0.4369, allocations: 6.228 MB / 0.5961 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4372, allocations: 340.7 kB / 0.5964 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006744/0.4378, allocations: 258 kB / 0.5966 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.4382, allocations: 272.4 kB / 0.5969 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/0.4382, allocations: 3.938 kB / 0.5969 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2109/0.6491, allocations: 26.8 MB / 0.6231 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.258, allocations: 7.656 kB / 0.6231 GB, free: 192.8 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.618589006364346]