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.001258/0.001258, allocations: 106.5 kB / 21.96 MB, free: 5.219 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.001284/0.001284, allocations: 214 kB / 25.26 MB, free: 3.129 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.253/1.253, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.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.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="cs",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="cs",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.001655/0.001655, allocations: 51.91 kB / 348 MB, free: 9.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2311, allocations: 49.15 MB / 397.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02761/0.2587, allocations: 29.82 MB / 427 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.2756, allocations: 13.99 MB / 441 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.2759, allocations: 11.94 kB / 441 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.2766, allocations: 238.5 kB / 441.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007476/0.2773, allocations: 373.9 kB / 441.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.2914, allocations: 5.714 MB / 447.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.2926, allocations: 1.028 MB / 448.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2928, allocations: 77.23 kB / 448.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/0.2976, allocations: 2.208 MB / 450.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.298, allocations: 310.8 kB / 450.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.298, allocations: 40 kB / 451 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00999/0.308, allocations: 6.052 MB / 457 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3082, allocations: 115.6 kB / 457.1 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.3084, allocations: 207.2 kB / 457.3 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.3139, allocations: 3.804 MB / 461.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3139, allocations: 4 kB / 461.1 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3139, allocations: 0 / 461.1 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3139, allocations: 0 / 461.1 MB, free: 3 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.001853/0.3158, allocations: 0.9355 MB / 462.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3158, allocations: 19.97 kB / 462.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/0.3159, allocations: 8.844 kB / 462.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/0.3159, allocations: 66.73 kB / 462.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.3172, allocations: 152.6 kB / 462.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.3176, allocations: 265.9 kB / 462.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3176, allocations: 21.03 kB / 462.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.3176, allocations: 35.94 kB / 462.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.319, allocations: 0.7451 MB / 463.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.319, allocations: 0 / 463.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.319, allocations: 16 kB / 463.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.3191, allocations: 8 kB / 463.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.3197, allocations: 326.3 kB / 463.7 MB, free: 264 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.002521/0.3222, allocations: 1.735 MB / 465.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.3228, allocations: 262.8 kB / 465.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.3229, allocations: 112.7 kB / 465.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0559/0.3788, allocations: 16.85 MB / 482.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.3789, allocations: 42.56 kB / 482.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.764e-06/0.3789, allocations: 0 / 482.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003161/0.3821, allocations: 1.05 MB / 483.7 MB, free: 12.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3821, allocations: 55.41 kB / 483.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3824, allocations: 265.7 kB / 484.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3824, allocations: 33.7 kB / 484.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3825, allocations: 188.5 kB / 484.3 MB, free: 11.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.3826, allocations: 115 kB / 484.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3827, allocations: 70.14 kB / 484.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3829, allocations: 350.7 kB / 484.8 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.383, allocations: 92.84 kB / 484.9 MB, free: 10.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.3833, allocations: 218.9 kB / 485.1 MB, free: 10.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.3837, allocations: 342.3 kB / 485.4 MB, free: 10.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3837, allocations: 0 / 485.4 MB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006928/0.3844, allocations: 418.8 kB / 485.9 MB, free: 9.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3844, allocations: 4 kB / 485.9 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3844, allocations: 4 kB / 485.9 MB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.3847, allocations: 66.12 kB / 485.9 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3851, allocations: 95.83 kB / 486 MB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.3867, allocations: 2.421 MB / 488.4 MB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3869, allocations: 8 kB / 488.4 MB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.387, allocations: 20 kB / 488.5 MB, free: 7.004 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.0001753/0.3871, allocations: 162.1 kB / 488.6 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.3872, allocations: 35.8 kB / 488.7 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3882, allocations: 0.8985 MB / 489.6 MB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3883, allocations: 7.984 kB / 489.6 MB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3883, allocations: 0 / 489.6 MB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009621/0.3892, allocations: 1.069 MB / 490.6 MB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.3908, allocations: 1.401 MB / 492 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3908, allocations: 0 / 492 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.3911, allocations: 55.91 kB / 492.1 MB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.3914, allocations: 72.8 kB / 492.2 MB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3914, allocations: 11.98 kB / 492.2 MB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003904/0.3918, allocations: 0.6031 MB / 492.8 MB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3918, allocations: 0 / 492.8 MB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.3927, allocations: 0.8387 MB / 493.6 MB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.3928, allocations: 39.88 kB / 493.7 MB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.3928, allocations: 19.89 kB / 493.7 MB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.3931, allocations: 19.98 kB / 493.7 MB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3932, allocations: 23.89 kB / 493.7 MB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.3932, allocations: 19.98 kB / 493.7 MB, free: 1.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.3934, allocations: 231.1 kB / 494 MB, free: 1.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3934, allocations: 0 / 494 MB, free: 1.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002004/0.3954, allocations: 0.8618 MB / 494.8 MB, free: 444 kB / 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: 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.004239/0.3997, allocations: 2.264 MB / 497.1 MB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008089/0.4005, allocations: 480.1 kB / 497.6 MB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4005, allocations: 4 kB / 497.6 MB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.4008, allocations: 240.4 kB / 497.8 MB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.4018, allocations: 188.2 kB / 498 MB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.4069, allocations: 3.997 MB / 0.4902 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.4071, allocations: 221.7 kB / 0.4904 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.4075, allocations: 186.9 kB / 0.4906 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.4077, allocations: 147.4 kB / 0.4907 GB, free: 8.477 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4077, allocations: 0 / 0.4907 GB, free: 8.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07334/0.481, allocations: 40.55 MB / 0.5303 GB, free: 15.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.35, allocations: 15.88 kB / 0.5304 GB, free: 15.77 MB / 462.1 MB " [Timeout remaining time 645] (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: 17.36935433896724]