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.001561/0.001561, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001692/0.001692, allocations: 227.2 kB / 23.01 MB, free: 5.039 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.471/1.471, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2213/0.2213, allocations: 44.23 MB / 330.3 MB, free: 9.609 MB / 270.1 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: 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.002171/0.002171, allocations: 77.59 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1267, allocations: 61.03 MB / 0.5162 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4578/0.5845, allocations: 181.4 MB / 0.6933 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008745/0.5932, allocations: 5.789 MB / 0.699 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000897/0.5941, allocations: 31.69 kB / 0.699 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.5954, allocations: 318 kB / 0.6993 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.6011, allocations: 1.618 MB / 0.7009 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.6049, allocations: 1.284 MB / 0.7021 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002524/0.6074, allocations: 1.868 MB / 0.704 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007154/0.6081, allocations: 393.6 kB / 0.7043 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.6116, allocations: 1.269 MB / 0.7056 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.6133, allocations: 0.8093 MB / 0.7064 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.6134, allocations: 60 kB / 0.7064 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.6154, allocations: 0.8504 MB / 0.7073 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.6158, allocations: 267.2 kB / 0.7075 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.6163, allocations: 398.2 kB / 0.7079 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.6186, allocations: 1.429 MB / 0.7093 GB, free: 13.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6186, allocations: 0 / 0.7093 GB, free: 13.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6186, allocations: 0 / 0.7093 GB, free: 13.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.6186, allocations: 0 / 0.7093 GB, free: 13.94 MB / 0.545 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.002324/0.6209, allocations: 1.08 MB / 0.7103 GB, free: 12.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6209, allocations: 8.031 kB / 0.7104 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.6211, allocations: 98.52 kB / 0.7104 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008103/0.6219, allocations: 143.5 kB / 0.7106 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.6229, allocations: 485.3 kB / 0.711 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.623, allocations: 155.8 kB / 0.7112 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/0.6231, allocations: 48 kB / 0.7112 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.6244, allocations: 0.8136 MB / 0.712 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.6245, allocations: 0 / 0.712 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.6245, allocations: 23.98 kB / 0.7121 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.6246, allocations: 44.86 kB / 0.7121 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.6257, allocations: 0.6205 MB / 0.7127 GB, free: 10.27 MB / 0.545 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.005137/0.6308, allocations: 3.933 MB / 0.7165 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.6314, allocations: 339.6 kB / 0.7169 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.6317, allocations: 162.5 kB / 0.717 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/0.6321, allocations: 134.1 kB / 0.7172 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.6322, allocations: 38.84 kB / 0.7172 GB, free: 5.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.013e-06/0.6322, allocations: 0 / 0.7172 GB, free: 5.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.00566/0.6378, allocations: 1.611 MB / 0.7188 GB, free: 3.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.6379, allocations: 132.5 kB / 0.7189 GB, free: 3.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.6387, allocations: 0.6133 MB / 0.7195 GB, free: 2.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.6388, allocations: 33.7 kB / 0.7195 GB, free: 2.922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.6391, allocations: 375.9 kB / 0.7199 GB, free: 2.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.6393, allocations: 146.7 kB / 0.72 GB, free: 2.406 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.6395, allocations: 162.6 kB / 0.7202 GB, free: 2.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.6397, allocations: 374.8 kB / 0.7205 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.6401, allocations: 201.9 kB / 0.7207 GB, free: 1.668 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/0.6408, allocations: 0.5047 MB / 0.7212 GB, free: 1.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6419, allocations: 0.7606 MB / 0.722 GB, free: 124 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6419, allocations: 4 kB / 0.722 GB, free: 120 kB / 0.545 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001511/0.6434, allocations: 0.8725 MB / 0.7228 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6434, allocations: 8 kB / 0.7228 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.6434, allocations: 12 kB / 0.7228 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.6448, allocations: 319.5 kB / 0.7231 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.6452, allocations: 127.8 kB / 0.7233 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.6464, allocations: 0.927 MB / 0.7242 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.6469, allocations: 27.98 kB / 0.7242 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.647, allocations: 67.98 kB / 0.7243 GB, free: 13.73 MB / 0.5606 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.0003822/0.6474, allocations: 245.5 kB / 0.7245 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.6475, allocations: 67.58 kB / 0.7246 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.6489, allocations: 0.6815 MB / 0.7252 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6489, allocations: 4 kB / 0.7252 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.649, allocations: 4 kB / 0.7252 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.649, allocations: 3.984 kB / 0.7252 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.6512, allocations: 1.285 MB / 0.7265 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6512, allocations: 0 / 0.7265 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6522, allocations: 203.9 kB / 0.7267 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.346e-05/0.6523, allocations: 28.83 kB / 0.7267 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.6523, allocations: 23.94 kB / 0.7267 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.6547, allocations: 2.668 MB / 0.7293 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6547, allocations: 4 kB / 0.7293 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.6559, allocations: 0.8171 MB / 0.7301 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.6563, allocations: 116.6 kB / 0.7303 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.6564, allocations: 8 kB / 0.7303 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.6567, allocations: 19.98 kB / 0.7303 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.6568, allocations: 47.88 kB / 0.7303 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.59e-05/0.6569, allocations: 43.98 kB / 0.7304 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005331/0.6574, allocations: 439 kB / 0.7308 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6574, allocations: 3.938 kB / 0.7308 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009702/0.6584, allocations: 295.6 kB / 0.7311 GB, free: 6.41 MB / 0.5606 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.002431/0.6608, allocations: 1.625 MB / 0.7327 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.662, allocations: 0.5316 MB / 0.7332 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.662, allocations: 0 / 0.7332 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.6631, allocations: 406.4 kB / 0.7336 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.6646, allocations: 368.8 kB / 0.7339 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009387/0.674, allocations: 6.31 MB / 0.7401 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.6747, allocations: 0.926 MB / 0.741 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009336/0.6756, allocations: 262 kB / 0.7412 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.6761, allocations: 271.3 kB / 0.7415 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of SimCode: time 1.382e-06/0.6761, allocations: 4 kB / 0.7415 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06961/0.7457, allocations: 26.09 MB / 0.767 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.47, allocations: 4.062 kB / 0.767 GB, free: 1.156 MB / 0.5919 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.852856042001804]