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.001461/0.001461, allocations: 112.8 kB / 19.17 MB, free: 3.891 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.001562/0.001562, allocations: 205.6 kB / 22.11 MB, free: 0.9531 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.283/1.283, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.001638/0.001638, allocations: 51.94 kB / 343 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2348, allocations: 49.13 MB / 392.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03363/0.2684, allocations: 32.77 MB / 424.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.2883, allocations: 15.78 MB / 440.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.2887, allocations: 11.94 kB / 440.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008676/0.2896, allocations: 270.4 kB / 441 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.2904, allocations: 369.9 kB / 441.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01617/0.3065, allocations: 5.792 MB / 447.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.3079, allocations: 1.013 MB / 448.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.3081, allocations: 81.05 kB / 448.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004841/0.3129, allocations: 2.212 MB / 450.5 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.3133, allocations: 310.8 kB / 450.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.3134, allocations: 48 kB / 450.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/0.3245, allocations: 6.076 MB / 456.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.3247, allocations: 115.6 kB / 457 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.325, allocations: 231.1 kB / 457.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007475/0.3325, allocations: 3.8 MB / 461 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3325, allocations: 0 / 461 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3325, allocations: 0 / 461 MB, free: 15.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3325, allocations: 4 kB / 461 MB, free: 15.28 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.002233/0.3347, allocations: 1.015 MB / 462 MB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3348, allocations: 12.03 kB / 462 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.966e-05/0.3348, allocations: 8.844 kB / 462.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.749e-05/0.3349, allocations: 70.66 kB / 462.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.3362, allocations: 156.6 kB / 462.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.3367, allocations: 327.8 kB / 462.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3367, allocations: 25.03 kB / 462.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.3368, allocations: 31.94 kB / 462.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.338, allocations: 0.5151 MB / 463.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.338, allocations: 8 kB / 463.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.3381, allocations: 16 kB / 463.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3381, allocations: 12 kB / 463.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/0.3387, allocations: 321.9 kB / 463.5 MB, free: 12.65 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.003181/0.3419, allocations: 2.561 MB / 466.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.3425, allocations: 270.7 kB / 466.3 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3427, allocations: 101.8 kB / 466.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06639/0.4091, allocations: 31.03 MB / 497.5 MB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.4091, allocations: 38.56 kB / 497.5 MB, free: 6.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.884e-06/0.4091, allocations: 0 / 497.5 MB, free: 6.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.00358/0.4127, allocations: 1.203 MB / 498.7 MB, free: 5.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.4128, allocations: 55.34 kB / 498.8 MB, free: 5.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.4131, allocations: 262.6 kB / 499 MB, free: 5.219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.4131, allocations: 33.7 kB / 499.1 MB, free: 5.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4133, allocations: 188.4 kB / 499.2 MB, free: 4.992 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.4134, allocations: 119 kB / 499.4 MB, free: 4.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.4135, allocations: 78.12 kB / 499.4 MB, free: 4.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4136, allocations: 338.8 kB / 499.8 MB, free: 4.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.4138, allocations: 100.8 kB / 499.9 MB, free: 4.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.4141, allocations: 206.9 kB / 0.4883 GB, free: 4.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.4146, allocations: 338.3 kB / 0.4887 GB, free: 3.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4146, allocations: 0 / 0.4887 GB, free: 3.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007711/0.4153, allocations: 423.2 kB / 0.4891 GB, free: 3.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4154, allocations: 11.91 kB / 0.4891 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4154, allocations: 7.984 kB / 0.4891 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.4156, allocations: 53.69 kB / 0.4891 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.416, allocations: 95.83 kB / 0.4892 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.418, allocations: 2.533 MB / 0.4917 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.4182, allocations: 8 kB / 0.4917 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.4183, allocations: 20 kB / 0.4917 GB, free: 372 kB / 414.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.0002114/0.4185, allocations: 161.7 kB / 0.4919 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.4186, allocations: 39.97 kB / 0.4919 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.4197, allocations: 0.8539 MB / 0.4928 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.4197, allocations: 11.98 kB / 0.4928 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4197, allocations: 0 / 0.4928 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.4207, allocations: 1.04 MB / 0.4938 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.4225, allocations: 1.493 MB / 0.4952 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4225, allocations: 0 / 0.4952 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4227, allocations: 67.84 kB / 0.4953 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003028/0.423, allocations: 64.8 kB / 0.4954 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.423, allocations: 4 kB / 0.4954 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004132/0.4234, allocations: 0.5992 MB / 0.496 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4234, allocations: 0 / 0.496 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4245, allocations: 0.8212 MB / 0.4968 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4246, allocations: 112.8 kB / 0.4969 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.4246, allocations: 15.94 kB / 0.4969 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.4249, allocations: 19.98 kB / 0.4969 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.425, allocations: 28.06 kB / 0.4969 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.425, allocations: 19.92 kB / 0.497 GB, free: 10.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.4252, allocations: 231.1 kB / 0.4972 GB, free: 10.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4252, allocations: 3.938 kB / 0.4972 GB, free: 10.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002327/0.4276, allocations: 0.8696 MB / 0.498 GB, free: 9.672 MB / 430.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.005018/0.4326, allocations: 2.238 MB / 0.5002 GB, free: 7.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009024/0.4335, allocations: 476.3 kB / 0.5007 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4335, allocations: 0 / 0.5007 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.4339, allocations: 236.3 kB / 0.5009 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4349, allocations: 180.6 kB / 0.5011 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.4408, allocations: 3.989 MB / 0.505 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4413, allocations: 0.8249 MB / 0.5058 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.4417, allocations: 187 kB / 0.5059 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.4419, allocations: 143.4 kB / 0.5061 GB, free: 1.16 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4419, allocations: 0 / 0.5061 GB, free: 1.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/0.5181, allocations: 39.75 MB / 0.5449 GB, free: 9.301 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.71, allocations: 15.86 kB / 0.5449 GB, free: 9.285 MB / 478.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/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: 16.80396542896051]