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.001323/0.001323, allocations: 103.6 kB / 21.18 MB, free: 320 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.001485/0.001485, allocations: 214.8 kB / 24.48 MB, free: 3.535 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.421/1.421, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.002051/0.002051, allocations: 58.59 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2645, 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.WaterIF97_ph): time 0.03325/0.2977, allocations: 29.84 MB / 426.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.3181, allocations: 14.01 MB / 440.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.3186, allocations: 8 kB / 440.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009654/0.3196, allocations: 238.5 kB / 440.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.3206, allocations: 362 kB / 440.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01772/0.3383, allocations: 5.727 MB / 446.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3398, allocations: 1.001 MB / 447.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.3401, allocations: 81.22 kB / 447.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.3453, allocations: 2.189 MB / 449.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.3459, allocations: 310.7 kB / 450.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.346, allocations: 39.98 kB / 450.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.3577, allocations: 5.826 MB / 456 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.3579, allocations: 115.6 kB / 456.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.3583, allocations: 195.3 kB / 456.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00834/0.3666, allocations: 3.784 MB / 460.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3666, allocations: 3.938 kB / 460.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3666, allocations: 0 / 460.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.3666, allocations: 0 / 460.1 MB, free: 3.262 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.002472/0.3691, allocations: 0.959 MB / 461 MB, free: 2.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.3692, allocations: 11.98 kB / 461.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.444e-05/0.3692, allocations: 74.66 kB / 461.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.3705, allocations: 152.6 kB / 461.3 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.371, allocations: 258 kB / 461.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.371, allocations: 36.91 kB / 461.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.3711, allocations: 36.12 kB / 461.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.3727, allocations: 0.6932 MB / 462.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.3727, allocations: 7.938 kB / 462.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.3727, allocations: 12 kB / 462.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3728, allocations: 8 kB / 462.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.3742, allocations: 0.4981 MB / 462.8 MB, free: 396 kB / 366.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.002937/0.3771, allocations: 1.789 MB / 464.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.3786, allocations: 430.6 kB / 465 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.379, allocations: 168.7 kB / 465.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.3797, allocations: 183.8 kB / 465.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3797, allocations: 34.56 kB / 465.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.3797, allocations: 0 / 465.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004789/0.3845, allocations: 1.362 MB / 466.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.3845, allocations: 59.41 kB / 466.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.3848, allocations: 253 kB / 467.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.3849, allocations: 33.7 kB / 467.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.385, allocations: 184.5 kB / 467.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3851, allocations: 126.9 kB / 467.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3853, allocations: 74.12 kB / 467.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3855, allocations: 338.8 kB / 467.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.3858, allocations: 136.8 kB / 467.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.3863, allocations: 239.4 kB / 468.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.3871, allocations: 394.8 kB / 468.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3871, allocations: 0 / 468.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001271/0.3884, allocations: 0.5113 MB / 469.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.3884, allocations: 11.94 kB / 469.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.3884, allocations: 0 / 469.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.389, allocations: 106.5 kB / 469.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.3894, allocations: 88.14 kB / 469.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.3917, allocations: 2.392 MB / 471.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.392, allocations: 36.12 kB / 471.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.3921, allocations: 20 kB / 471.7 MB, free: 7.016 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.0002601/0.3923, allocations: 173.5 kB / 471.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.3924, allocations: 31.81 kB / 471.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.3946, allocations: 1.367 MB / 473.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.3946, allocations: 23.97 kB / 473.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3946, allocations: 0 / 473.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/0.3966, allocations: 1.464 MB / 474.8 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.3995, allocations: 2.035 MB / 476.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3995, allocations: 0 / 476.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.3999, allocations: 95.86 kB / 476.9 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.4002, allocations: 68.8 kB / 477 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.4003, allocations: 4 kB / 477 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004547/0.4007, allocations: 0.5992 MB / 477.6 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4007, allocations: 4.125 kB / 477.6 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.4027, allocations: 1.307 MB / 478.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4028, allocations: 67.52 kB / 479 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.4029, allocations: 15.89 kB / 479 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.4032, allocations: 23.97 kB / 479 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.4033, allocations: 35.94 kB / 479 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.4033, allocations: 11.98 kB / 479 MB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.4036, allocations: 235 kB / 479.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4036, allocations: 4 kB / 479.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0026/0.4062, allocations: 0.8579 MB / 480.1 MB, free: 14.39 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.006192/0.4124, allocations: 2.735 MB / 482.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.4138, allocations: 0.6379 MB / 483.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.4138, allocations: 4 kB / 483.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.4145, allocations: 387 kB / 483.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.4157, allocations: 196.6 kB / 484.1 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008534/0.4243, allocations: 4.59 MB / 488.7 MB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.4246, allocations: 281 kB / 488.9 MB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.425, allocations: 143 kB / 489.1 MB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.4252, allocations: 195.4 kB / 489.3 MB, free: 4.996 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4252, allocations: 3.938 kB / 489.3 MB, free: 4.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0943/0.5195, allocations: 42.51 MB / 0.5193 GB, free: 10.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.58, allocations: 3.859 kB / 0.5193 GB, free: 10.35 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.399235158693045]