Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_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.001051/0.00105, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001113/0.001113, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3249/0.3249, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 57.31 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1242, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.442/0.5663, allocations: 175.2 MB / 0.6295 GB, free: 1.289 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008354/0.5747, allocations: 5.341 MB / 0.6347 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.5756, allocations: 19.88 kB / 0.6347 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.5768, allocations: 317.9 kB / 0.635 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.581, allocations: 1.328 MB / 0.6363 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.5841, allocations: 1.061 MB / 0.6374 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.5866, allocations: 1.856 MB / 0.6392 GB, free: 7.359 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.5874, allocations: 455.9 kB / 0.6396 GB, free: 6.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.5898, allocations: 1.063 MB / 0.6406 GB, free: 5.844 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.5912, allocations: 0.751 MB / 0.6414 GB, free: 5.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.5914, allocations: 60 kB / 0.6414 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.593, allocations: 0.5774 MB / 0.642 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.5933, allocations: 259.3 kB / 0.6423 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.5938, allocations: 402.2 kB / 0.6426 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.5957, allocations: 1.293 MB / 0.6439 GB, free: 2.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5957, allocations: 0 / 0.6439 GB, free: 2.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5957, allocations: 0 / 0.6439 GB, free: 2.508 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5957, allocations: 0 / 0.6439 GB, free: 2.508 MB / 478.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.002239/0.598, allocations: 1.098 MB / 0.645 GB, free: 1.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.598, allocations: 16.03 kB / 0.645 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.5982, allocations: 98.45 kB / 0.6451 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.599, allocations: 135.1 kB / 0.6452 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.5998, allocations: 0.504 MB / 0.6457 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.5999, allocations: 100.4 kB / 0.6458 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.6, allocations: 55.38 kB / 0.6458 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.6012, allocations: 0.8136 MB / 0.6466 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.6013, allocations: 3.938 kB / 0.6466 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.6014, allocations: 31.92 kB / 0.6467 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-05/0.6014, allocations: 40.97 kB / 0.6467 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.6025, allocations: 0.6243 MB / 0.6473 GB, free: 14.81 MB / 494.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.004398/0.6069, allocations: 3.973 MB / 0.6512 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.6075, allocations: 363.5 kB / 0.6516 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.6078, allocations: 165.3 kB / 0.6517 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.6079, allocations: 97.38 kB / 0.6518 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.608, allocations: 38.84 kB / 0.6518 GB, free: 9.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.786e-06/0.608, allocations: 0 / 0.6518 GB, free: 9.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00584/0.6138, allocations: 1.663 MB / 0.6535 GB, free: 8.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.614, allocations: 136.5 kB / 0.6536 GB, free: 7.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.6148, allocations: 0.6171 MB / 0.6542 GB, free: 7.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.6148, allocations: 37.69 kB / 0.6542 GB, free: 7.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.6151, allocations: 370.9 kB / 0.6546 GB, free: 6.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6152, allocations: 142 kB / 0.6547 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.6154, allocations: 158.4 kB / 0.6549 GB, free: 6.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6156, allocations: 374.8 kB / 0.6552 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.6159, allocations: 205.9 kB / 0.6554 GB, free: 6.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.6165, allocations: 0.5125 MB / 0.6559 GB, free: 5.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.6174, allocations: 0.7601 MB / 0.6567 GB, free: 4.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6174, allocations: 4 kB / 0.6567 GB, free: 4.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001409/0.6188, allocations: 0.8834 MB / 0.6575 GB, free: 3.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6189, allocations: 8 kB / 0.6575 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6189, allocations: 11.94 kB / 0.6576 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.6203, allocations: 321.3 kB / 0.6579 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.6207, allocations: 123.8 kB / 0.658 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.6218, allocations: 0.9248 MB / 0.6589 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.6223, allocations: 32.06 kB / 0.6589 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.6224, allocations: 63.98 kB / 0.659 GB, free: 2.129 MB / 494.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.0003775/0.6227, allocations: 253.4 kB / 0.6592 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.6229, allocations: 67.16 kB / 0.6593 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.6245, allocations: 0.8621 MB / 0.6601 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6245, allocations: 7.984 kB / 0.6601 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6245, allocations: 4 kB / 0.6601 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.6246, allocations: 7.938 kB / 0.6601 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.6265, allocations: 1.453 MB / 0.6616 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6265, allocations: 4 kB / 0.6616 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.6276, allocations: 208 kB / 0.6618 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.6277, allocations: 24.84 kB / 0.6618 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.6277, allocations: 19.98 kB / 0.6618 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.6298, allocations: 2.877 MB / 0.6646 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6298, allocations: 4.031 kB / 0.6646 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.631, allocations: 0.8208 MB / 0.6654 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.6313, allocations: 188.2 kB / 0.6656 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6314, allocations: 15.94 kB / 0.6656 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.6318, allocations: 15.98 kB / 0.6656 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.6319, allocations: 51.95 kB / 0.6657 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.632, allocations: 39.98 kB / 0.6657 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004919/0.6325, allocations: 439 kB / 0.6661 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6325, allocations: 0 / 0.6661 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008975/0.6334, allocations: 255.9 kB / 0.6664 GB, free: 10.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.002065/0.6354, allocations: 1.561 MB / 0.6679 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.6366, allocations: 0.5939 MB / 0.6685 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6366, allocations: 0 / 0.6685 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6377, allocations: 426.7 kB / 0.6689 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.6393, allocations: 374.5 kB / 0.6692 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00849/0.6478, allocations: 6.544 MB / 0.6756 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.6484, allocations: 0.93 MB / 0.6765 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001344/0.6497, allocations: 466.8 kB / 0.677 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.6502, allocations: 291.3 kB / 0.6773 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.6502, allocations: 0 / 0.6773 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05223/0.7025, allocations: 24.14 MB / 0.7008 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.55, allocations: 11.86 kB / 0.7009 GB, free: 6.605 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches