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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 108.3 kB / 18.4 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 184.2 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB 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.001245/0.001245, allocations: 51.94 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 46.62 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2704/0.3747, allocations: 32.56 MB / 408.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01979/0.3946, allocations: 15.74 MB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.3951, allocations: 4.25 kB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000992/0.3961, allocations: 275.9 kB / 424.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000839/0.397, allocations: 357.9 kB / 424.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01968/0.4166, allocations: 5.783 MB / 430.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.4184, allocations: 1.009 MB / 431.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.4186, allocations: 115.7 kB / 431.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.4235, allocations: 2.206 MB / 433.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.4239, allocations: 294.8 kB / 434.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.424, allocations: 40 kB / 434.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01563/0.4397, allocations: 6.076 MB / 440.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.44, allocations: 111.7 kB / 440.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.4405, allocations: 231.1 kB / 440.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.4543, allocations: 3.789 MB / 444.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4543, allocations: 0 / 444.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4544, allocations: 0 / 444.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4544, allocations: 0 / 444.4 MB, free: 10.96 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.003573/0.458, allocations: 0.9988 MB / 445.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.458, allocations: 8.031 kB / 445.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.4602, allocations: 148.3 kB / 445.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.461, allocations: 327.6 kB / 445.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.461, allocations: 29.89 kB / 445.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.4611, allocations: 32.56 kB / 446 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.4631, allocations: 0.5189 MB / 446.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4631, allocations: 0 / 446.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.4632, allocations: 16 kB / 446.5 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4632, allocations: 8 kB / 446.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.4642, allocations: 321.9 kB / 446.8 MB, free: 8.449 MB / 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.004595/0.4689, allocations: 2.556 MB / 449.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.4698, allocations: 270.8 kB / 449.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.4701, allocations: 117.9 kB / 449.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07504/0.5451, allocations: 31.04 MB / 480.8 MB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.5452, allocations: 34.56 kB / 480.8 MB, free: 2.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.926e-06/0.5452, allocations: 0 / 480.8 MB, free: 2.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003717/0.5489, allocations: 1.198 MB / 482 MB, free: 1.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.549, allocations: 59.34 kB / 482.1 MB, free: 1.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.5493, allocations: 254.6 kB / 482.3 MB, free: 1.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.5494, allocations: 29.7 kB / 482.4 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.5495, allocations: 196 kB / 482.6 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.5496, allocations: 114.4 kB / 482.7 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.5497, allocations: 78.03 kB / 482.7 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5499, allocations: 338.8 kB / 483.1 MB, free: 260 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.5501, allocations: 96.83 kB / 483.2 MB, free: 164 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.5503, allocations: 206.9 kB / 483.4 MB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.5508, allocations: 342.3 kB / 483.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5508, allocations: 7.938 kB / 483.7 MB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007136/0.5515, allocations: 418.7 kB / 484.1 MB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5515, allocations: 4 kB / 484.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.5516, allocations: 4 kB / 484.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.5518, allocations: 58.16 kB / 484.2 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.5522, allocations: 99.52 kB / 484.3 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.554, allocations: 2.521 MB / 486.8 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.5543, allocations: 12 kB / 486.8 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.5543, allocations: 16 kB / 486.8 MB, free: 12.18 MB / 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.0002033/0.5545, allocations: 165.9 kB / 487 MB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.5546, allocations: 35.61 kB / 487 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.5557, allocations: 0.8577 MB / 487.9 MB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.5557, allocations: 11.98 kB / 487.9 MB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.5557, allocations: 3.938 kB / 487.9 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009586/0.5567, allocations: 1.04 MB / 488.9 MB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.5584, allocations: 1.489 MB / 490.4 MB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.5584, allocations: 3.938 kB / 490.4 MB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.5587, allocations: 59.91 kB / 490.5 MB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.559, allocations: 68.7 kB / 490.6 MB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.559, allocations: 12 kB / 490.6 MB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003812/0.5594, allocations: 0.5875 MB / 491.2 MB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5594, allocations: 0 / 491.2 MB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.5604, allocations: 0.8287 MB / 492 MB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.5605, allocations: 108.8 kB / 492.1 MB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.5606, allocations: 17.77 kB / 492.1 MB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.5609, allocations: 19.98 kB / 492.1 MB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.561, allocations: 19.97 kB / 492.1 MB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.561, allocations: 19.98 kB / 492.2 MB, free: 6.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000243/0.5613, allocations: 231.1 kB / 492.4 MB, free: 6.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5613, allocations: 0 / 492.4 MB, free: 6.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002444/0.5637, allocations: 0.8628 MB / 493.3 MB, free: 5.5 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.004031/0.5678, allocations: 0.9572 MB / 494.2 MB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.5688, allocations: 494.6 kB / 494.7 MB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5688, allocations: 0 / 494.7 MB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.5692, allocations: 245.5 kB / 494.9 MB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5703, allocations: 188.2 kB / 495.1 MB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.572, allocations: 1.017 MB / 496.1 MB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.5725, allocations: 0.8211 MB / 497 MB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.5726, allocations: 39.44 kB / 497 MB, free: 1.684 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.5726, allocations: 0 / 497 MB, free: 1.684 MB / 414.1 MB Notification: Performance of Templates: time 0.03305/0.6057, allocations: 22.95 MB / 0.5078 GB, free: 10.69 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) 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) Reference file matches