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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 116 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.358/1.358, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 51.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08712, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03493/0.122, allocations: 32.78 MB / 424.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01865/0.1407, allocations: 15.78 MB / 440 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.141, allocations: 4 kB / 440 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007904/0.1418, allocations: 266.3 kB / 440.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007444/0.1425, allocations: 370 kB / 440.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.1573, allocations: 5.788 MB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1587, allocations: 1.013 MB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1589, allocations: 77.06 kB / 447.5 MB, free: 460 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.1636, allocations: 2.212 MB / 449.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.164, allocations: 318.8 kB / 450 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.1641, allocations: 40 kB / 450 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/0.1754, allocations: 6.08 MB / 456.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.1756, allocations: 111.6 kB / 456.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.176, allocations: 239.1 kB / 456.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008586/0.1846, allocations: 3.8 MB / 460.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1846, allocations: 0 / 460.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1846, allocations: 0 / 460.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1846, allocations: 0 / 460.3 MB, free: 3.621 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.002284/0.1869, allocations: 1.019 MB / 461.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1869, allocations: 12.03 kB / 461.3 MB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.277e-05/0.187, allocations: 70.72 kB / 461.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.1883, allocations: 156.5 kB / 461.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.1888, allocations: 327.7 kB / 461.8 MB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1888, allocations: 21.03 kB / 461.9 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.1889, allocations: 40.12 kB / 461.9 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.1901, allocations: 0.5112 MB / 462.4 MB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1901, allocations: 4 kB / 462.4 MB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.1902, allocations: 16 kB / 462.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1902, allocations: 8 kB / 462.4 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.1909, allocations: 325.9 kB / 462.8 MB, free: 0.9961 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.1539/0.3448, allocations: 2.55 MB / 465.3 MB, free: 66.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.3454, allocations: 272.5 kB / 465.6 MB, free: 66.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3456, allocations: 105.5 kB / 465.7 MB, free: 66.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05482/0.4004, allocations: 31.03 MB / 496.7 MB, free: 43.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.4005, allocations: 38.56 kB / 496.7 MB, free: 43.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.4005, allocations: 0 / 496.7 MB, free: 43.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.002787/0.4032, allocations: 1.203 MB / 497.9 MB, free: 42.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.4033, allocations: 55.41 kB / 498 MB, free: 41.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.4035, allocations: 257 kB / 498.2 MB, free: 41.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4035, allocations: 33.7 kB / 498.3 MB, free: 41.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.4035, allocations: 195.6 kB / 498.5 MB, free: 41.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.4036, allocations: 118.9 kB / 498.6 MB, free: 41.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.4037, allocations: 70.14 kB / 498.7 MB, free: 41.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.4037, allocations: 346.5 kB / 499 MB, free: 40.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.4038, allocations: 96.84 kB / 499.1 MB, free: 40.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.404, allocations: 213.5 kB / 499.3 MB, free: 40.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.4043, allocations: 337.3 kB / 499.6 MB, free: 40.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4043, allocations: 0 / 499.6 MB, free: 40.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005225/0.4048, allocations: 423 kB / 0.4883 GB, free: 39.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4048, allocations: 8 kB / 0.4883 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4048, allocations: 4 kB / 0.4883 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.4051, allocations: 61.62 kB / 0.4884 GB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.4054, allocations: 91.7 kB / 0.4885 GB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009658/0.4063, allocations: 2.529 MB / 0.4909 GB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.4065, allocations: 11.94 kB / 0.491 GB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.4065, allocations: 23.98 kB / 0.491 GB, free: 36.94 MB / 382.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.0001247/0.4067, allocations: 165.7 kB / 0.4911 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.4067, allocations: 38.12 kB / 0.4912 GB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.4075, allocations: 0.8583 MB / 0.492 GB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4075, allocations: 8 kB / 0.492 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4075, allocations: 3.984 kB / 0.492 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005804/0.408, allocations: 1.04 MB / 0.493 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4092, allocations: 1.488 MB / 0.4945 GB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.4092, allocations: 0 / 0.4945 GB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.4094, allocations: 59.97 kB / 0.4946 GB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.4096, allocations: 72.72 kB / 0.4946 GB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4096, allocations: 4 kB / 0.4946 GB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001998/0.4098, allocations: 0.5953 MB / 0.4952 GB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4098, allocations: 3.938 kB / 0.4952 GB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.4105, allocations: 0.8251 MB / 0.496 GB, free: 31.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.4105, allocations: 109.1 kB / 0.4961 GB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.4106, allocations: 17.38 kB / 0.4961 GB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.4108, allocations: 23.97 kB / 0.4962 GB, free: 31.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.4109, allocations: 24.08 kB / 0.4962 GB, free: 31.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.4109, allocations: 19.98 kB / 0.4962 GB, free: 31.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.411, allocations: 235 kB / 0.4964 GB, free: 31.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.411, allocations: 0 / 0.4964 GB, free: 31.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001863/0.4129, allocations: 0.8703 MB / 0.4973 GB, free: 30.34 MB / 382.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.003365/0.4163, allocations: 2.236 MB / 0.4995 GB, free: 28.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.417, allocations: 476.2 kB / 0.4999 GB, free: 27.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.417, allocations: 4 kB / 0.4999 GB, free: 27.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.4172, allocations: 228.4 kB / 0.5001 GB, free: 27.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.4181, allocations: 188.5 kB / 0.5003 GB, free: 27.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.4219, allocations: 3.978 MB / 0.5042 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.4221, allocations: 0.8172 MB / 0.505 GB, free: 22.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.4223, allocations: 191.8 kB / 0.5052 GB, free: 22.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.4225, allocations: 143.4 kB / 0.5053 GB, free: 21.99 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4225, allocations: 0 / 0.5053 GB, free: 21.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0734/0.4959, allocations: 39.71 MB / 0.5441 GB, free: 14.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.21, allocations: 7.859 kB / 0.5441 GB, free: 14.18 MB / 414.1 MB " [Timeout remaining time 646] (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_2/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_2/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: 16.8938002679497]