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.00191/0.00191, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001918/0.001918, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2311/0.2311, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.001904/0.001904, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1467, allocations: 65.43 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5279/0.6746, allocations: 178.7 MB / 0.7263 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008249/0.6829, allocations: 5.359 MB / 0.7316 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007062/0.6836, allocations: 27.75 kB / 0.7316 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.6846, allocations: 318 kB / 0.7319 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.6883, allocations: 1.368 MB / 0.7332 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.6913, allocations: 1.056 MB / 0.7343 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.6938, allocations: 1.848 MB / 0.7361 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.6945, allocations: 413.3 kB / 0.7365 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.697, allocations: 1.105 MB / 0.7375 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.6983, allocations: 0.8017 MB / 0.7383 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.6984, allocations: 60 kB / 0.7384 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.6998, allocations: 0.6326 MB / 0.739 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.7001, allocations: 267.1 kB / 0.7392 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.7005, allocations: 394.2 kB / 0.7396 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.7023, allocations: 1.312 MB / 0.7409 GB, free: 5.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7023, allocations: 0 / 0.7409 GB, free: 5.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7023, allocations: 4 kB / 0.7409 GB, free: 5.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.7023, allocations: 0 / 0.7409 GB, free: 5.355 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.002315/0.7046, allocations: 1.117 MB / 0.742 GB, free: 4.184 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.7047, allocations: 11.97 kB / 0.742 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.7048, allocations: 98.52 kB / 0.7421 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.7057, allocations: 139.4 kB / 0.7422 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.7066, allocations: 0.5318 MB / 0.7428 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.7067, allocations: 104.3 kB / 0.7429 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.7068, allocations: 55.98 kB / 0.7429 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.7082, allocations: 0.8097 MB / 0.7437 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.7082, allocations: 7.984 kB / 0.7437 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.7083, allocations: 19.94 kB / 0.7437 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.841e-05/0.7084, allocations: 52.91 kB / 0.7438 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.7095, allocations: 0.6166 MB / 0.7444 GB, free: 1.609 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.004874/0.7144, allocations: 3.933 MB / 0.7482 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.715, allocations: 338.8 kB / 0.7485 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.7153, allocations: 165.3 kB / 0.7487 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.7155, allocations: 93.36 kB / 0.7488 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7155, allocations: 38.84 kB / 0.7488 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.7155, allocations: 4 kB / 0.7488 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005966/0.7215, allocations: 1.682 MB / 0.7505 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.7215, allocations: 136.5 kB / 0.7506 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.7223, allocations: 0.6211 MB / 0.7512 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.7224, allocations: 37.7 kB / 0.7512 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.7227, allocations: 371.8 kB / 0.7516 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.7228, allocations: 150.7 kB / 0.7517 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.723, allocations: 150.6 kB / 0.7519 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.7232, allocations: 374.8 kB / 0.7522 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.7236, allocations: 209.8 kB / 0.7524 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.7242, allocations: 0.5164 MB / 0.7529 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7253, allocations: 0.7487 MB / 0.7537 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7253, allocations: 4 kB / 0.7537 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001558/0.7269, allocations: 0.8795 MB / 0.7545 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.7269, allocations: 14.94 kB / 0.7546 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.7269, allocations: 15.94 kB / 0.7546 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.7284, allocations: 314.3 kB / 0.7549 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.7288, allocations: 123.8 kB / 0.755 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.73, allocations: 0.9245 MB / 0.7559 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.7305, allocations: 31.92 kB / 0.7559 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.7306, allocations: 64.06 kB / 0.756 GB, free: 4.988 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.0004045/0.731, allocations: 261.4 kB / 0.7562 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.7311, allocations: 67.58 kB / 0.7563 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.7328, allocations: 0.8551 MB / 0.7571 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.7328, allocations: 4 kB / 0.7571 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7329, allocations: 0 / 0.7571 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.7329, allocations: 7.938 kB / 0.7571 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.735, allocations: 1.461 MB / 0.7586 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.735, allocations: 0 / 0.7586 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.7361, allocations: 216.7 kB / 0.7588 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-05/0.7362, allocations: 24.84 kB / 0.7588 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.7363, allocations: 20 kB / 0.7588 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.7386, allocations: 2.878 MB / 0.7616 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.7386, allocations: 0 / 0.7616 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.74, allocations: 0.8235 MB / 0.7624 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.7403, allocations: 188.7 kB / 0.7626 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.7404, allocations: 12 kB / 0.7626 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.7408, allocations: 20.05 kB / 0.7626 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.7409, allocations: 47.83 kB / 0.7627 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/0.741, allocations: 43.98 kB / 0.7627 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005568/0.7415, allocations: 435 kB / 0.7631 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7415, allocations: 4 kB / 0.7631 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009122/0.7424, allocations: 247.8 kB / 0.7634 GB, free: 12.91 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.002209/0.7446, allocations: 1.553 MB / 0.7649 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.7459, allocations: 0.535 MB / 0.7654 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7459, allocations: 0 / 0.7654 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.7469, allocations: 406.4 kB / 0.7658 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.7486, allocations: 379.9 kB / 0.7662 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009134/0.7578, allocations: 6.327 MB / 0.7724 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.7584, allocations: 0.9298 MB / 0.7733 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001083/0.7594, allocations: 463.8 kB / 0.7737 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.76, allocations: 287.3 kB / 0.774 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.76, allocations: 0 / 0.774 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06337/0.8233, allocations: 24.49 MB / 0.7979 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.88, allocations: 11.86 kB / 0.7979 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 646] (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: 17.133395213168114]