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_ph.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.00132/0.00132, allocations: 109.6 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.001601/0.001601, allocations: 216.7 kB / 24.49 MB, free: 4.031 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.462/1.462, allocations: 207.6 MB / 235.3 MB, free: 10.01 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_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",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.001732/0.001732, allocations: 51.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2655, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03733/0.3029, allocations: 33.04 MB / 429.4 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02146/0.3243, allocations: 15.87 MB / 445.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.3247, allocations: 7.938 kB / 445.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000863/0.3256, allocations: 270.4 kB / 445.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007858/0.3264, allocations: 365.9 kB / 445.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01671/0.3431, allocations: 5.802 MB / 451.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3445, allocations: 1.005 MB / 452.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.3447, allocations: 81.23 kB / 452.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/0.3495, allocations: 2.212 MB / 455 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.3499, allocations: 330.8 kB / 455.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.35, allocations: 40 kB / 455.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/0.3614, allocations: 6.084 MB / 461.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.3616, allocations: 111.7 kB / 461.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.3619, allocations: 227.1 kB / 461.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008154/0.37, allocations: 3.788 MB / 465.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3701, allocations: 0 / 465.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3701, allocations: 0 / 465.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3701, allocations: 0 / 465.6 MB, free: 13.92 MB / 382.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.002415/0.3725, allocations: 0.9668 MB / 466.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.3725, allocations: 27.91 kB / 466.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.964e-05/0.3726, allocations: 62.73 kB / 466.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.374, allocations: 148.6 kB / 466.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.3745, allocations: 265.9 kB / 467 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.3745, allocations: 33.03 kB / 467.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.3746, allocations: 36.12 kB / 467.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.376, allocations: 0.5504 MB / 467.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.376, allocations: 0 / 467.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.3761, allocations: 12 kB / 467.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3761, allocations: 8 kB / 467.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.3775, allocations: 0.4981 MB / 468.2 MB, free: 11.22 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.003564/0.3811, allocations: 2.502 MB / 470.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3825, allocations: 427.7 kB / 471.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.3829, allocations: 164.7 kB / 471.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000631/0.3836, allocations: 192.1 kB / 471.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.3836, allocations: 34.56 kB / 471.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.535e-06/0.3836, allocations: 4 kB / 471.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004732/0.3883, allocations: 1.354 MB / 472.8 MB, free: 6.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3884, allocations: 55.41 kB / 472.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.3887, allocations: 245 kB / 473.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.3888, allocations: 37.7 kB / 473.2 MB, free: 5.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3889, allocations: 188.4 kB / 473.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/0.389, allocations: 123 kB / 473.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3892, allocations: 82.08 kB / 473.6 MB, free: 5.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3893, allocations: 342.7 kB / 473.9 MB, free: 5.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.3897, allocations: 132.8 kB / 474 MB, free: 5.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.3902, allocations: 247.4 kB / 474.3 MB, free: 4.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/0.3911, allocations: 394.8 kB / 474.6 MB, free: 4.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3911, allocations: 0 / 474.6 MB, free: 4.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001256/0.3923, allocations: 0.5112 MB / 475.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3923, allocations: 7.938 kB / 475.2 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3923, allocations: 4 kB / 475.2 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.3929, allocations: 102.9 kB / 475.3 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.3932, allocations: 91.88 kB / 475.4 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.3954, allocations: 2.4 MB / 477.8 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.3957, allocations: 27.97 kB / 477.8 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3957, allocations: 16 kB / 477.8 MB, free: 0.9844 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.3959, allocations: 165.7 kB / 478 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.396, allocations: 35.81 kB / 478 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.3981, allocations: 1.363 MB / 479.4 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.3981, allocations: 19.91 kB / 479.4 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.3981, allocations: 0 / 479.4 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001853/0.4, allocations: 1.475 MB / 480.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.4029, allocations: 2.124 MB / 483 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.4029, allocations: 8.062 kB / 483 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.4033, allocations: 91.86 kB / 483.1 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.4036, allocations: 72.75 kB / 483.2 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4036, allocations: 15.98 kB / 483.2 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004408/0.4041, allocations: 0.5914 MB / 483.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4041, allocations: 4.094 kB / 483.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.406, allocations: 1.314 MB / 485.1 MB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.4061, allocations: 51.56 kB / 485.1 MB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.4062, allocations: 23.83 kB / 485.1 MB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.4064, allocations: 23.98 kB / 485.2 MB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.4065, allocations: 31.94 kB / 485.2 MB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.4065, allocations: 15.98 kB / 485.2 MB, free: 9.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.4068, allocations: 235.1 kB / 485.4 MB, free: 9.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 0 / 485.4 MB, free: 9.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002419/0.4092, allocations: 0.8657 MB / 486.3 MB, free: 8.242 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005786/0.415, allocations: 2.723 MB / 489 MB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.4164, allocations: 0.6466 MB / 489.7 MB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4164, allocations: 0 / 489.7 MB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.417, allocations: 382.3 kB / 490.1 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4181, allocations: 196.8 kB / 490.3 MB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/0.4257, allocations: 4.593 MB / 494.8 MB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.4262, allocations: 0.8728 MB / 495.7 MB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.4266, allocations: 154.9 kB / 495.9 MB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.4269, allocations: 191.4 kB / 496.1 MB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4269, allocations: 0 / 496.1 MB, free: 14.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.5271, allocations: 42.16 MB / 0.5256 GB, free: 3.973 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/15.95, allocations: 7.891 kB / 0.5256 GB, free: 3.965 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.82503050899686]