Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001405/0.001405, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002466/0.002466, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 55.92 kB / 347.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2484, allocations: 49.15 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.1946/0.443, allocations: 150.2 MB / 0.5338 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.4475, allocations: 2.955 MB / 0.5367 GB, free: 9.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.4478, allocations: 4 kB / 0.5367 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.4484, allocations: 166.9 kB / 0.5368 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.4495, allocations: 417.5 kB / 0.5372 GB, free: 8.855 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.4504, allocations: 351.3 kB / 0.5375 GB, free: 8.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.4517, allocations: 0.907 MB / 0.5384 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.4519, allocations: 68.88 kB / 0.5385 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.4539, allocations: 0.8114 MB / 0.5393 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.4544, allocations: 278.9 kB / 0.5396 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.4545, allocations: 32 kB / 0.5396 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.4548, allocations: 119.8 kB / 0.5397 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.455, allocations: 99.64 kB / 0.5398 GB, free: 6.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.4552, allocations: 155.5 kB / 0.5399 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007774/0.456, allocations: 0.5256 MB / 0.5405 GB, free: 5.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.456, allocations: 0 / 0.5405 GB, free: 5.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.456, allocations: 0 / 0.5405 GB, free: 5.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.456, allocations: 0 / 0.5405 GB, free: 5.52 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00103/0.457, allocations: 0.5206 MB / 0.541 GB, free: 4.969 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4571, allocations: 11.98 kB / 0.541 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.922e-05/0.4572, allocations: 58.55 kB / 0.541 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.4575, allocations: 47.8 kB / 0.5411 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.458, allocations: 228.7 kB / 0.5413 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.4581, allocations: 20.44 kB / 0.5413 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.4581, allocations: 24 kB / 0.5413 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.4589, allocations: 0.545 MB / 0.5419 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4589, allocations: 3.938 kB / 0.5419 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.4589, allocations: 12 kB / 0.5419 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4589, allocations: 4 kB / 0.5419 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.4593, allocations: 201.6 kB / 0.5421 GB, free: 3.707 MB / 462.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.002052/0.4614, allocations: 1.199 MB / 0.5433 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.4617, allocations: 151.2 kB / 0.5434 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.4619, allocations: 100.8 kB / 0.5435 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.4619, allocations: 4 kB / 0.5435 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.462, allocations: 42.5 kB / 0.5435 GB, free: 2.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.462, allocations: 3.938 kB / 0.5435 GB, free: 2.125 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005844/0.4678, allocations: 1.31 MB / 0.5448 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4679, allocations: 55.41 kB / 0.5449 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.4682, allocations: 264.9 kB / 0.5451 GB, free: 428 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.4683, allocations: 29.7 kB / 0.5452 GB, free: 392 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4684, allocations: 180.5 kB / 0.5453 GB, free: 208 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.4685, allocations: 99.16 kB / 0.5454 GB, free: 108 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4686, allocations: 81.64 kB / 0.5455 GB, free: 20 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4688, allocations: 350.8 kB / 0.5458 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.469, allocations: 83.97 kB / 0.5459 GB, free: 15.58 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.4693, allocations: 195.8 kB / 0.5461 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.4698, allocations: 311.8 kB / 0.5464 GB, free: 15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4698, allocations: 0 / 0.5464 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007381/0.4705, allocations: 394.8 kB / 0.5468 GB, free: 14.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4705, allocations: 8 kB / 0.5468 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4705, allocations: 4 kB / 0.5468 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.4708, allocations: 73.62 kB / 0.5469 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.4712, allocations: 87.83 kB / 0.5469 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4728, allocations: 1.855 MB / 0.5488 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.4731, allocations: 8 kB / 0.5488 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.4731, allocations: 40 kB / 0.5488 GB, free: 12.38 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.4734, allocations: 161.6 kB / 0.549 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.4734, allocations: 28.11 kB / 0.549 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.4743, allocations: 435.7 kB / 0.5494 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.4743, allocations: 8 kB / 0.5494 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4744, allocations: 0 / 0.5494 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006606/0.475, allocations: 0.5669 MB / 0.55 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4762, allocations: 0.6602 MB / 0.5506 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4762, allocations: 0 / 0.5506 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.4765, allocations: 71.89 kB / 0.5507 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.214e-05/0.4766, allocations: 20.84 kB / 0.5507 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.4766, allocations: 12 kB / 0.5507 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.4777, allocations: 1.279 MB / 0.552 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4777, allocations: 4.031 kB / 0.552 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.4785, allocations: 475.4 kB / 0.5524 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.4786, allocations: 31.83 kB / 0.5524 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.4786, allocations: 4 kB / 0.5524 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.4789, allocations: 4.219 kB / 0.5524 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.4789, allocations: 35.89 kB / 0.5525 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.479, allocations: 35.98 kB / 0.5525 GB, free: 8.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.4792, allocations: 189.2 kB / 0.5527 GB, free: 8.082 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4792, allocations: 0 / 0.5527 GB, free: 8.082 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000554/0.4798, allocations: 123.9 kB / 0.5528 GB, free: 7.961 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.001451/0.4812, allocations: 1.055 MB / 0.5538 GB, free: 6.867 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.482, allocations: 362.4 kB / 0.5542 GB, free: 6.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.482, allocations: 4.75 kB / 0.5542 GB, free: 6.496 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.4824, allocations: 234.6 kB / 0.5544 GB, free: 6.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4835, allocations: 161.6 kB / 0.5546 GB, free: 6.098 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/0.4884, allocations: 3.206 MB / 0.5577 GB, free: 2.703 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.4886, allocations: 159.8 kB / 0.5579 GB, free: 2.531 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.4891, allocations: 110.9 kB / 0.558 GB, free: 2.426 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.4894, allocations: 135.4 kB / 0.5581 GB, free: 2.293 MB / 478.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4894, allocations: 0 / 0.5581 GB, free: 2.293 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2057/0.695, allocations: 12.85 MB / 0.5706 GB, free: 161.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.21, allocations: 9.156 kB / 0.5706 GB, free: 161.7 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.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 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 16.73327963706106]