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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001189, allocations: 105.7 kB / 16.27 MB, free: 5.93 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.001153/0.001152, allocations: 189.9 kB / 17.2 MB, free: 5.574 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.413/1.413, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2198/0.2198, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001461/0.001461, allocations: 74.11 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 57.78 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4516/0.5602, allocations: 180.6 MB / 0.6066 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007851/0.5681, allocations: 5.75 MB / 0.6122 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008518/0.569, allocations: 24.38 kB / 0.6123 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.5701, allocations: 308.6 kB / 0.6126 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004466/0.5746, allocations: 1.573 MB / 0.6141 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.578, allocations: 1.242 MB / 0.6153 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.5804, allocations: 1.85 MB / 0.6171 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007629/0.5811, allocations: 467.5 kB / 0.6176 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.5841, allocations: 1.219 MB / 0.6188 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.5857, allocations: 0.7553 MB / 0.6195 GB, free: 468 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.5859, allocations: 59.91 kB / 0.6196 GB, free: 468 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.5882, allocations: 0.7402 MB / 0.6203 GB, free: 124 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.5886, allocations: 255.4 kB / 0.6205 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.5891, allocations: 400.8 kB / 0.6209 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.5914, allocations: 1.417 MB / 0.6223 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5914, allocations: 0 / 0.6223 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5914, allocations: 0 / 0.6223 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5914, allocations: 0 / 0.6223 GB, free: 14.71 MB / 446.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.002451/0.5939, allocations: 1.13 MB / 0.6234 GB, free: 13.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5939, allocations: 15.89 kB / 0.6234 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.5941, allocations: 98.52 kB / 0.6235 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.5949, allocations: 135.1 kB / 0.6236 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.5957, allocations: 0.5079 MB / 0.6241 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.5958, allocations: 104.3 kB / 0.6242 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/0.5959, allocations: 51.98 kB / 0.6243 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.5971, allocations: 0.8213 MB / 0.6251 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.5971, allocations: 4 kB / 0.6251 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.5972, allocations: 27.94 kB / 0.6251 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.5973, allocations: 40.92 kB / 0.6251 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.5982, allocations: 0.6166 MB / 0.6257 GB, free: 10.98 MB / 446.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.004499/0.6028, allocations: 3.984 MB / 0.6296 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.6033, allocations: 353.9 kB / 0.63 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.6036, allocations: 173.3 kB / 0.6301 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.6041, allocations: 365.4 kB / 0.6305 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.6041, allocations: 39.91 kB / 0.6305 GB, free: 5.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.073e-06/0.6042, allocations: 0 / 0.6305 GB, free: 5.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.00597/0.6101, allocations: 1.672 MB / 0.6322 GB, free: 4.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6103, allocations: 132.5 kB / 0.6323 GB, free: 3.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/0.6111, allocations: 0.6211 MB / 0.6329 GB, free: 3.223 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.6111, allocations: 33.7 kB / 0.6329 GB, free: 3.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.6114, allocations: 374.8 kB / 0.6333 GB, free: 2.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.6115, allocations: 138 kB / 0.6334 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.6117, allocations: 158.5 kB / 0.6336 GB, free: 2.516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6119, allocations: 374.8 kB / 0.6339 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.6123, allocations: 201.9 kB / 0.6341 GB, free: 1.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.6129, allocations: 0.5125 MB / 0.6346 GB, free: 1.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/0.6139, allocations: 0.7526 MB / 0.6353 GB, free: 400 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6139, allocations: 0 / 0.6353 GB, free: 400 kB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001427/0.6153, allocations: 0.8759 MB / 0.6362 GB, free: 15.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6153, allocations: 8 kB / 0.6362 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6154, allocations: 12 kB / 0.6362 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.6168, allocations: 320.2 kB / 0.6365 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.6172, allocations: 127.8 kB / 0.6367 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.6182, allocations: 0.9308 MB / 0.6376 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.6187, allocations: 28.06 kB / 0.6376 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.6188, allocations: 67.98 kB / 0.6377 GB, free: 13.99 MB / 462.1 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.0003143/0.6191, allocations: 241.5 kB / 0.6379 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.6192, allocations: 63.3 kB / 0.6379 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.6208, allocations: 0.6899 MB / 0.6386 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6208, allocations: 7.938 kB / 0.6386 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.6208, allocations: 4 kB / 0.6386 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6208, allocations: 0 / 0.6386 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.6229, allocations: 1.615 MB / 0.6402 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6229, allocations: 0 / 0.6402 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.624, allocations: 203.8 kB / 0.6404 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-05/0.6241, allocations: 32.91 kB / 0.6404 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.6242, allocations: 23.98 kB / 0.6405 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.6264, allocations: 2.873 MB / 0.6433 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6264, allocations: 0 / 0.6433 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.6277, allocations: 0.8071 MB / 0.644 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.628, allocations: 188.2 kB / 0.6442 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6282, allocations: 12 kB / 0.6442 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.6286, allocations: 19.92 kB / 0.6443 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.6287, allocations: 47.89 kB / 0.6443 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.6288, allocations: 43.98 kB / 0.6443 GB, free: 6.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005202/0.6293, allocations: 443 kB / 0.6448 GB, free: 6.203 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6293, allocations: 0 / 0.6448 GB, free: 6.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009699/0.6303, allocations: 292 kB / 0.645 GB, free: 5.918 MB / 462.1 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.002477/0.6328, allocations: 1.611 MB / 0.6466 GB, free: 4.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.6343, allocations: 0.6142 MB / 0.6472 GB, free: 3.656 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6343, allocations: 0 / 0.6472 GB, free: 3.656 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009903/0.6353, allocations: 414.2 kB / 0.6476 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.6373, allocations: 372.7 kB / 0.648 GB, free: 2.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.6482, allocations: 6.525 MB / 0.6543 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.6489, allocations: 0.93 MB / 0.6552 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001142/0.6501, allocations: 266 kB / 0.6555 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/0.6507, allocations: 271.3 kB / 0.6558 GB, free: 10.49 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6508, allocations: 0 / 0.6558 GB, free: 10.49 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/0.7121, allocations: 25.15 MB / 0.6803 GB, free: 1.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.82, allocations: 19.5 kB / 0.6803 GB, free: 1.309 MB / 494.1 MB (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.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) 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) Reference file matches