Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.001298/0.001298, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001364/0.001364, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.357/1.357, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",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.00178/0.00178, allocations: 55.91 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2531, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03708/0.2902, allocations: 33.03 MB / 429.4 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02123/0.3114, allocations: 15.87 MB / 445.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.3118, allocations: 7.938 kB / 445.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.3126, allocations: 274.4 kB / 445.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.3134, allocations: 365.9 kB / 445.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01637/0.3297, allocations: 5.793 MB / 451.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.3314, allocations: 0.9932 MB / 452.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3316, allocations: 85.22 kB / 452.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005066/0.3367, allocations: 2.196 MB / 455 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.3372, allocations: 310.8 kB / 455.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.3372, allocations: 36 kB / 455.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00736/0.3446, allocations: 3.621 MB / 459 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3448, allocations: 103.7 kB / 459.1 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.3451, allocations: 223.1 kB / 459.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.3493, allocations: 2.358 MB / 461.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3493, allocations: 0 / 461.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3493, allocations: 0 / 461.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3493, allocations: 7.984 kB / 461.6 MB, free: 1.898 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001624/0.3509, allocations: 0.7575 MB / 462.4 MB, free: 1.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.351, allocations: 15.98 kB / 462.4 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.345e-05/0.3511, allocations: 66.72 kB / 462.5 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.3518, allocations: 92.66 kB / 462.6 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.3522, allocations: 246 kB / 462.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.3523, allocations: 25.02 kB / 462.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.3523, allocations: 44 kB / 462.9 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/0.3531, allocations: 446.4 kB / 463.3 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3532, allocations: 0 / 463.3 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3532, allocations: 12 kB / 463.3 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3532, allocations: 12 kB / 463.3 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.3539, allocations: 322.2 kB / 463.6 MB, free: 15.78 MB / 382.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.00318/0.357, allocations: 2.508 MB / 466.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.3576, allocations: 244 kB / 466.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3578, allocations: 96.83 kB / 466.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03032/0.3881, allocations: 8.31 MB / 474.8 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.3881, allocations: 38.56 kB / 474.8 MB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.3881, allocations: 0 / 474.8 MB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004488/0.3926, allocations: 1.159 MB / 476 MB, free: 3.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3927, allocations: 55.41 kB / 476 MB, free: 3.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.393, allocations: 273.8 kB / 476.3 MB, free: 2.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.393, allocations: 29.7 kB / 476.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3932, allocations: 196.4 kB / 476.5 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.3e-05/0.3932, allocations: 119 kB / 476.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3934, allocations: 74.09 kB / 476.7 MB, free: 2.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3935, allocations: 342.8 kB / 477.1 MB, free: 2.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3937, allocations: 100.8 kB / 477.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.394, allocations: 214.9 kB / 477.4 MB, free: 1.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.3945, allocations: 362.3 kB / 477.7 MB, free: 1.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3945, allocations: 4 kB / 477.7 MB, free: 1.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008156/0.3953, allocations: 438.7 kB / 478.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3953, allocations: 8 kB / 478.2 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3954, allocations: 7.938 kB / 478.2 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00318/0.3985, allocations: 265.9 kB / 478.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.3989, allocations: 83.83 kB / 478.5 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.4007, allocations: 1.871 MB / 480.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.4009, allocations: 12 kB / 480.4 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.401, allocations: 20.16 kB / 480.4 MB, free: 14.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.4012, allocations: 169.9 kB / 480.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.4013, allocations: 31.81 kB / 480.6 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.4025, allocations: 0.9661 MB / 481.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.4025, allocations: 15.98 kB / 481.6 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4025, allocations: 4 kB / 481.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.4037, allocations: 1.149 MB / 482.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.4059, allocations: 1.601 MB / 484.3 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4059, allocations: 0 / 484.3 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4061, allocations: 55.91 kB / 484.4 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.4078, allocations: 287.9 kB / 484.7 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.4078, allocations: 12 kB / 484.7 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006543/0.4085, allocations: 0.6812 MB / 485.4 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.4085, allocations: 3.938 kB / 485.4 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4097, allocations: 0.9846 MB / 486.4 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.4098, allocations: 31.73 kB / 486.4 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.4099, allocations: 15.89 kB / 486.4 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.4101, allocations: 8.125 kB / 486.4 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4101, allocations: 27.95 kB / 486.4 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.4101, allocations: 4 kB / 486.5 MB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.4104, allocations: 247 kB / 486.7 MB, free: 7.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4104, allocations: 0 / 486.7 MB, free: 7.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001436/0.4118, allocations: 0.4916 MB / 487.2 MB, free: 7.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003309/0.4151, allocations: 1.934 MB / 489.1 MB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009991/0.4161, allocations: 0.5147 MB / 489.6 MB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4161, allocations: 4 kB / 489.6 MB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.4166, allocations: 284.2 kB / 489.9 MB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4177, allocations: 192.7 kB / 490.1 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.4233, allocations: 3.98 MB / 494.1 MB, free: 280 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.4238, allocations: 0.8128 MB / 494.9 MB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.4241, allocations: 111.2 kB / 495 MB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.4243, allocations: 147.4 kB / 495.1 MB, free: 15.18 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4243, allocations: 0 / 495.1 MB, free: 15.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06273/0.4871, allocations: 23.82 MB / 0.5068 GB, free: 7.281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.06, allocations: 7.906 kB / 0.5068 GB, free: 7.273 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.572234644001583]