Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.5 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 75.88 kB / 0.491 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1277, allocations: 66.05 MB / 0.5555 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5053/0.633, allocations: 178.7 MB / 0.73 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007812/0.6408, allocations: 5.355 MB / 0.7353 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.6415, allocations: 27.75 kB / 0.7353 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.6426, allocations: 318 kB / 0.7356 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.647, allocations: 1.368 MB / 0.7369 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.6501, allocations: 1.05 MB / 0.7379 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.6526, allocations: 1.86 MB / 0.7398 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007709/0.6534, allocations: 405.4 kB / 0.7402 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.6559, allocations: 1.109 MB / 0.7412 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.6573, allocations: 0.7939 MB / 0.742 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.6574, allocations: 60 kB / 0.7421 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.6588, allocations: 0.6359 MB / 0.7427 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.6591, allocations: 275.1 kB / 0.743 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.6595, allocations: 390.2 kB / 0.7433 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.6613, allocations: 1.308 MB / 0.7446 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6613, allocations: 0 / 0.7446 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6613, allocations: 4 kB / 0.7446 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6614, allocations: 0 / 0.7446 GB, free: 15.3 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.002304/0.6637, allocations: 1.117 MB / 0.7457 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6637, allocations: 8.031 kB / 0.7457 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.6638, allocations: 98.52 kB / 0.7458 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008527/0.6647, allocations: 145.7 kB / 0.7459 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.6656, allocations: 0.5357 MB / 0.7465 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.6657, allocations: 100.4 kB / 0.7466 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6658, allocations: 55.92 kB / 0.7466 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.6671, allocations: 0.8175 MB / 0.7474 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.6671, allocations: 0 / 0.7474 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.6672, allocations: 31.92 kB / 0.7474 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.6673, allocations: 40.92 kB / 0.7475 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.6684, allocations: 0.6127 MB / 0.7481 GB, free: 11.57 MB / 0.5606 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.004721/0.6731, allocations: 3.948 MB / 0.7519 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.6737, allocations: 335 kB / 0.7522 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.674, allocations: 169.3 kB / 0.7524 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.6741, allocations: 89.33 kB / 0.7525 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.6741, allocations: 38.84 kB / 0.7525 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.6742, allocations: 0 / 0.7525 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005904/0.6801, allocations: 1.693 MB / 0.7542 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.6801, allocations: 136.5 kB / 0.7543 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.6809, allocations: 0.6133 MB / 0.7549 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.681, allocations: 33.7 kB / 0.7549 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.6813, allocations: 367.8 kB / 0.7553 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.6814, allocations: 154.7 kB / 0.7554 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.6817, allocations: 166.6 kB / 0.7556 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.6819, allocations: 378.7 kB / 0.756 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.6822, allocations: 197.9 kB / 0.7562 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.6829, allocations: 0.5125 MB / 0.7567 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.684, allocations: 0.7516 MB / 0.7574 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.684, allocations: 4 kB / 0.7574 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001596/0.6856, allocations: 0.8762 MB / 0.7582 GB, free: 444 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6856, allocations: 12 kB / 0.7583 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.6856, allocations: 15.92 kB / 0.7583 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.687, allocations: 304.9 kB / 0.7586 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.6874, allocations: 127.8 kB / 0.7587 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.6886, allocations: 0.9271 MB / 0.7596 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.6891, allocations: 31.92 kB / 0.7596 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.6892, allocations: 67.98 kB / 0.7597 GB, free: 14.93 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.0004049/0.6896, allocations: 245.4 kB / 0.7599 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6898, allocations: 71.58 kB / 0.76 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.6915, allocations: 0.8689 MB / 0.7608 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6915, allocations: 4 kB / 0.7608 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6915, allocations: 0 / 0.7608 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.6915, allocations: 7.922 kB / 0.7609 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.6937, allocations: 1.457 MB / 0.7623 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6937, allocations: 4 kB / 0.7623 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.6948, allocations: 207.8 kB / 0.7625 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.449e-05/0.6949, allocations: 24.84 kB / 0.7625 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.695, allocations: 19.98 kB / 0.7625 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.6973, allocations: 2.873 MB / 0.7653 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6973, allocations: 4.031 kB / 0.7653 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.6986, allocations: 0.8235 MB / 0.7661 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.6989, allocations: 188.6 kB / 0.7663 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/0.699, allocations: 8 kB / 0.7663 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.6994, allocations: 19.98 kB / 0.7663 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.6995, allocations: 43.83 kB / 0.7664 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/0.6996, allocations: 48.05 kB / 0.7664 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005924/0.7002, allocations: 443 kB / 0.7668 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7002, allocations: 0 / 0.7668 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009583/0.7011, allocations: 251.8 kB / 0.7671 GB, free: 6.855 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.002307/0.7034, allocations: 1.552 MB / 0.7686 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.7047, allocations: 0.5381 MB / 0.7691 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7047, allocations: 7.938 kB / 0.7691 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.7057, allocations: 407.6 kB / 0.7695 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.7075, allocations: 367.3 kB / 0.7699 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009425/0.7169, allocations: 6.319 MB / 0.776 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.7175, allocations: 0.9376 MB / 0.777 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001075/0.7186, allocations: 463.8 kB / 0.7774 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.7191, allocations: 283.3 kB / 0.7777 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.7191, allocations: 0 / 0.7777 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.7796, allocations: 24.47 MB / 0.8016 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.08, allocations: 8 kB / 0.8016 GB, free: 3.285 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.328174059046432]