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.001502/0.001502, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001897/0.001897, allocations: 214.4 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.668/1.668, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.2393/0.2393, allocations: 44.28 MB / 330.4 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 71.89 kB / 467.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1218, allocations: 61.04 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4958/0.6175, allocations: 156.4 MB / 0.6689 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008243/0.6258, allocations: 5.284 MB / 0.6741 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005716/0.6263, allocations: 27.75 kB / 0.6741 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.6272, allocations: 298 kB / 0.6744 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004118/0.6314, allocations: 1.608 MB / 0.676 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.6347, allocations: 1.247 MB / 0.6772 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.6372, allocations: 1.864 MB / 0.679 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006665/0.6379, allocations: 397.6 kB / 0.6794 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.6408, allocations: 1.265 MB / 0.6806 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.6422, allocations: 0.7705 MB / 0.6814 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.6423, allocations: 60 kB / 0.6814 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.6442, allocations: 0.7489 MB / 0.6822 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.6445, allocations: 267.2 kB / 0.6824 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.645, allocations: 334.6 kB / 0.6828 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.6475, allocations: 1.421 MB / 0.6841 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6475, allocations: 4 kB / 0.6841 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6475, allocations: 0 / 0.6841 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.6475, allocations: 0 / 0.6841 GB, free: 6.184 MB / 0.5137 GB 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.002761/0.6503, allocations: 1.076 MB / 0.6852 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/0.6504, allocations: 8.031 kB / 0.6852 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.6505, allocations: 106.4 kB / 0.6853 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.6514, allocations: 135.5 kB / 0.6854 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.6525, allocations: 489.3 kB / 0.6859 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.6527, allocations: 155.8 kB / 0.686 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.6528, allocations: 48 kB / 0.6861 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.6546, allocations: 1.165 MB / 0.6872 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.6546, allocations: 7.938 kB / 0.6872 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.6547, allocations: 23.98 kB / 0.6873 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/0.6548, allocations: 40.92 kB / 0.6873 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.6559, allocations: 0.6127 MB / 0.6879 GB, free: 2.086 MB / 0.5137 GB 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.004917/0.6609, allocations: 3.32 MB / 0.6911 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.6615, allocations: 339.6 kB / 0.6915 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.6618, allocations: 161.9 kB / 0.6916 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/0.6621, allocations: 130.1 kB / 0.6917 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.6622, allocations: 38.84 kB / 0.6918 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 9.979e-06/0.6622, allocations: 0 / 0.6918 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005701/0.6679, allocations: 1.604 MB / 0.6933 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.668, allocations: 136.5 kB / 0.6935 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/0.6688, allocations: 0.6288 MB / 0.6941 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.6688, allocations: 33.69 kB / 0.6941 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.6692, allocations: 371.9 kB / 0.6945 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.6693, allocations: 150.7 kB / 0.6946 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.6697, allocations: 158.6 kB / 0.6948 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.6699, allocations: 378.7 kB / 0.6951 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.6703, allocations: 202.4 kB / 0.6953 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.671, allocations: 0.5916 MB / 0.6959 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.6721, allocations: 0.7484 MB / 0.6966 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.6721, allocations: 4 kB / 0.6966 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001573/0.6737, allocations: 0.8796 MB / 0.6975 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.6737, allocations: 12 kB / 0.6975 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.6737, allocations: 11.98 kB / 0.6975 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.6751, allocations: 320.6 kB / 0.6978 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.6755, allocations: 119.8 kB / 0.6979 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.6767, allocations: 0.9386 MB / 0.6989 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.6772, allocations: 24 kB / 0.6989 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.6773, allocations: 67.98 kB / 0.6989 GB, free: 6.168 MB / 0.5294 GB 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.0003721/0.6776, allocations: 245.4 kB / 0.6992 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.6778, allocations: 79.47 kB / 0.6993 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.6792, allocations: 0.6758 MB / 0.6999 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6792, allocations: 7.984 kB / 0.6999 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6792, allocations: 1.188 kB / 0.6999 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6792, allocations: 0 / 0.6999 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.6815, allocations: 1.226 MB / 0.7011 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6815, allocations: 0 / 0.7011 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.6826, allocations: 207.8 kB / 0.7013 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.6827, allocations: 20.84 kB / 0.7013 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.6828, allocations: 20 kB / 0.7014 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.6853, allocations: 2.674 MB / 0.704 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6853, allocations: 0 / 0.704 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.6867, allocations: 0.8212 MB / 0.7048 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.687, allocations: 115.5 kB / 0.7049 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.6871, allocations: 15.95 kB / 0.7049 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.6875, allocations: 15.98 kB / 0.7049 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.6876, allocations: 43.88 kB / 0.705 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.6877, allocations: 39.98 kB / 0.705 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006117/0.6883, allocations: 443 kB / 0.7054 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6883, allocations: 0 / 0.7054 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00105/0.6893, allocations: 291.7 kB / 0.7057 GB, free: 14.9 MB / 0.545 GB 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.002524/0.6919, allocations: 1.616 MB / 0.7073 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.6931, allocations: 0.5304 MB / 0.7078 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6931, allocations: 4 kB / 0.7078 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6941, allocations: 412 kB / 0.7082 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.6958, allocations: 364.5 kB / 0.7085 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.7051, allocations: 6.302 MB / 0.7147 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.7056, allocations: 336.7 kB / 0.715 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009953/0.7066, allocations: 258 kB / 0.7153 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.707, allocations: 275.3 kB / 0.7155 GB, free: 4.371 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.7071, allocations: 0 / 0.7155 GB, free: 4.371 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06883/0.7759, allocations: 26.75 MB / 0.7416 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.43, allocations: 3.859 kB / 0.7417 GB, free: 9.59 MB / 0.5762 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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: 17.91334144771099]