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.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.001617/0.001617, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001455/0.001455, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.92 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002048/0.002048, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3618, allocations: 65.46 MB / 0.557 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2166/0.5784, allocations: 178.9 MB / 0.7318 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3158/0.8942, allocations: 5.384 MB / 0.737 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008792/0.8951, allocations: 27.22 kB / 0.7371 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.8962, allocations: 323.9 kB / 0.7374 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.9003, allocations: 1.374 MB / 0.7387 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.9032, allocations: 1.082 MB / 0.7398 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.9061, allocations: 1.874 MB / 0.7416 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.9068, allocations: 397.8 kB / 0.742 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.9092, allocations: 1.117 MB / 0.7431 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.9107, allocations: 0.8129 MB / 0.7439 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.9108, allocations: 59.78 kB / 0.7439 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.9122, allocations: 0.6362 MB / 0.7446 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.9125, allocations: 273.8 kB / 0.7448 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.9129, allocations: 391.5 kB / 0.7452 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.9146, allocations: 1.311 MB / 0.7465 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9146, allocations: 0.8438 kB / 0.7465 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9146, allocations: 0 / 0.7465 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.9146, allocations: 0.9375 kB / 0.7465 GB, free: 1.664 MB / 0.5606 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.002209/0.9168, allocations: 1.051 MB / 0.7475 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.9169, allocations: 8.312 kB / 0.7475 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.917, allocations: 100.2 kB / 0.7476 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008022/0.9178, allocations: 139.2 kB / 0.7477 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.9188, allocations: 481.9 kB / 0.7482 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.919, allocations: 154.6 kB / 0.7483 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.9191, allocations: 48.44 kB / 0.7484 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.9202, allocations: 0.8116 MB / 0.7492 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.9203, allocations: 5.219 kB / 0.7492 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.9203, allocations: 31.16 kB / 0.7492 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.9204, allocations: 38.56 kB / 0.7492 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009837/0.9214, allocations: 0.6292 MB / 0.7499 GB, free: 16.5 MB / 0.5762 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.004669/0.9261, allocations: 3.885 MB / 0.7537 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.9265, allocations: 343.3 kB / 0.754 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.9268, allocations: 160.2 kB / 0.7541 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.9269, allocations: 18.48 kB / 0.7542 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.9269, allocations: 37.34 kB / 0.7542 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.415e-06/0.9269, allocations: 1.031 kB / 0.7542 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00507/0.932, allocations: 1.601 MB / 0.7558 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/0.9321, allocations: 141 kB / 0.7559 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.9327, allocations: 0.6107 MB / 0.7565 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.9328, allocations: 34.25 kB / 0.7565 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.933, allocations: 377.2 kB / 0.7569 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.9331, allocations: 149.3 kB / 0.757 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.9332, allocations: 156.7 kB / 0.7572 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.9334, allocations: 383.3 kB / 0.7575 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.9337, allocations: 203.8 kB / 0.7577 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.9343, allocations: 0.5128 MB / 0.7582 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008942/0.9352, allocations: 0.7541 MB / 0.759 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9352, allocations: 0 / 0.759 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001276/0.9365, allocations: 0.8817 MB / 0.7598 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.9365, allocations: 9.844 kB / 0.7598 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.9365, allocations: 15.91 kB / 0.7599 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.9378, allocations: 309.2 kB / 0.7601 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.9381, allocations: 124.7 kB / 0.7603 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.9392, allocations: 0.9369 MB / 0.7612 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.9398, allocations: 32.78 kB / 0.7612 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.9399, allocations: 66.25 kB / 0.7613 GB, free: 11.11 MB / 0.5762 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.0003783/0.9402, allocations: 248 kB / 0.7615 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.9404, allocations: 74.17 kB / 0.7616 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.9418, allocations: 0.8763 MB / 0.7624 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.9418, allocations: 3.406 kB / 0.7624 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9418, allocations: 1.094 kB / 0.7624 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9418, allocations: 3.656 kB / 0.7624 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.9437, allocations: 1.215 MB / 0.7636 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9437, allocations: 3.188 kB / 0.7636 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/0.9447, allocations: 207.2 kB / 0.7638 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.9448, allocations: 28.14 kB / 0.7639 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.9448, allocations: 17.61 kB / 0.7639 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.9471, allocations: 2.674 MB / 0.7665 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9471, allocations: 4.109 kB / 0.7665 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.9484, allocations: 0.8217 MB / 0.7673 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.9487, allocations: 113.3 kB / 0.7674 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9488, allocations: 14.98 kB / 0.7674 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.9492, allocations: 19.97 kB / 0.7674 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.9493, allocations: 42 kB / 0.7675 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.9493, allocations: 44.14 kB / 0.7675 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004765/0.9498, allocations: 440.3 kB / 0.7679 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9498, allocations: 0 / 0.7679 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009043/0.9507, allocations: 258.3 kB / 0.7682 GB, free: 7.609 MB / 0.5762 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.002069/0.9528, allocations: 1.542 MB / 0.7697 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.954, allocations: 0.5379 MB / 0.7702 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.954, allocations: 3.406 kB / 0.7702 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.9549, allocations: 411.4 kB / 0.7706 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.9566, allocations: 361.1 kB / 0.771 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008169/0.9647, allocations: 6.339 MB / 0.7771 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.9653, allocations: 0.933 MB / 0.7781 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001053/0.9663, allocations: 470.4 kB / 0.7785 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.9667, allocations: 286.3 kB / 0.7788 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.9667, allocations: 0 / 0.7788 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06528/1.032, allocations: 24.99 MB / 0.8032 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.28, allocations: 14.97 kB / 0.8032 GB, free: 8.051 MB / 0.5919 GB " [Timeout remaining time 645] (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.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.533545421996678]