Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.001764/0.001764, 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.002332/0.002332, 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.488/1.488, 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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_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.002096/0.002096, allocations: 59.91 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2833, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03935/0.3227, allocations: 33.03 MB / 429.4 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02195/0.3446, allocations: 15.86 MB / 445.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.3451, allocations: 15.88 kB / 445.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009955/0.3461, allocations: 266.4 kB / 445.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3472, allocations: 369.9 kB / 445.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01886/0.366, allocations: 5.8 MB / 451.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.3678, allocations: 1.024 MB / 452.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.3681, allocations: 81.17 kB / 452.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005621/0.3737, allocations: 2.22 MB / 455 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/0.3744, allocations: 314.8 kB / 455.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3745, allocations: 44 kB / 455.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/0.3889, allocations: 6.08 MB / 461.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.3892, allocations: 115.6 kB / 461.6 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.3897, allocations: 231.2 kB / 461.8 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3998, allocations: 3.808 MB / 465.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3998, allocations: 4 kB / 465.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3998, allocations: 0 / 465.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.3998, allocations: 0 / 465.6 MB, free: 13.89 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.003005/0.4028, allocations: 0.9434 MB / 466.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4029, allocations: 11.98 kB / 466.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.403, allocations: 70.72 kB / 466.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.4044, allocations: 152.6 kB / 466.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.4049, allocations: 265.9 kB / 467.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.4049, allocations: 25.03 kB / 467.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.405, allocations: 36.12 kB / 467.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.4063, allocations: 0.5114 MB / 467.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.4063, allocations: 3.938 kB / 467.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.4063, allocations: 16 kB / 467.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4063, allocations: 11.98 kB / 467.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/0.407, allocations: 326.3 kB / 468 MB, free: 11.43 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.003359/0.4104, allocations: 2.44 MB / 470.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.411, allocations: 274.7 kB / 470.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.4111, allocations: 104.8 kB / 470.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07213/0.4833, allocations: 16.79 MB / 487.6 MB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/0.4833, allocations: 46.48 kB / 487.6 MB, free: 7.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.075e-06/0.4833, allocations: 0 / 487.6 MB, free: 7.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.005435/0.4888, allocations: 1.046 MB / 488.7 MB, free: 6.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.4888, allocations: 55.41 kB / 488.7 MB, free: 6.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.4893, allocations: 261.8 kB / 489 MB, free: 6.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.4893, allocations: 29.7 kB / 489 MB, free: 6.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.4895, allocations: 192.4 kB / 489.2 MB, free: 5.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4897, allocations: 115 kB / 489.3 MB, free: 5.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.4899, allocations: 74.12 kB / 489.4 MB, free: 5.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4901, allocations: 342.8 kB / 489.7 MB, free: 5.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.4903, allocations: 100.8 kB / 489.8 MB, free: 5.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.4906, allocations: 210.9 kB / 490 MB, free: 4.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.4911, allocations: 342.3 kB / 490.4 MB, free: 4.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4911, allocations: 0 / 490.4 MB, free: 4.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008482/0.492, allocations: 423.1 kB / 490.8 MB, free: 4.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.492, allocations: 4 kB / 490.8 MB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.492, allocations: 4 kB / 490.8 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.4923, allocations: 57.67 kB / 490.8 MB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4927, allocations: 87.89 kB / 490.9 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.4948, allocations: 2.437 MB / 493.4 MB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.495, allocations: 8 kB / 493.4 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.4951, allocations: 20 kB / 493.4 MB, free: 1.375 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.4953, allocations: 161.8 kB / 493.5 MB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4954, allocations: 39.81 kB / 493.6 MB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.4966, allocations: 0.8869 MB / 494.5 MB, free: 276 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.4966, allocations: 15.92 kB / 494.5 MB, free: 260 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4966, allocations: 3.938 kB / 494.5 MB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/0.4978, allocations: 1.069 MB / 495.6 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.4997, allocations: 1.502 MB / 497.1 MB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.4997, allocations: 4 kB / 497.1 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.4999, allocations: 51.92 kB / 497.1 MB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/0.5003, allocations: 72.78 kB / 497.2 MB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.5003, allocations: 7.938 kB / 497.2 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004699/0.5008, allocations: 0.6031 MB / 497.8 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5008, allocations: 0 / 497.8 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.502, allocations: 0.8465 MB / 498.6 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.5021, allocations: 35.73 kB / 498.7 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.5022, allocations: 15.89 kB / 498.7 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.5025, allocations: 32.12 kB / 498.7 MB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.5025, allocations: 19.97 kB / 498.7 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.5026, allocations: 19.92 kB / 498.8 MB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002906/0.5029, allocations: 235 kB / 499 MB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5029, allocations: 0 / 499 MB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002888/0.5058, allocations: 0.8579 MB / 499.9 MB, free: 10.68 MB / 414.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: 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00589/0.5117, allocations: 2.248 MB / 0.4903 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.5128, allocations: 491.5 kB / 0.4908 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5128, allocations: 0 / 0.4908 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.5133, allocations: 236.4 kB / 0.491 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5144, allocations: 188.8 kB / 0.4912 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/0.5237, allocations: 4.004 MB / 0.4951 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.5242, allocations: 0.8132 MB / 0.4959 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004422/0.5246, allocations: 183 kB / 0.4961 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.5248, allocations: 143.4 kB / 0.4962 GB, free: 2.133 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5248, allocations: 0 / 0.4962 GB, free: 2.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/0.6421, allocations: 40.14 MB / 0.5354 GB, free: 9.887 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.53, allocations: 11.92 kB / 0.5354 GB, free: 9.875 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.44725754088722]