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.001207/0.001207, allocations: 98.64 kB / 17.58 MB, free: 5.418 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.001269/0.00127, allocations: 192 kB / 18.51 MB, free: 4.508 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.445/1.445, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001276/0.001277, allocations: 47.92 kB / 280.7 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 46.64 MB / 327.3 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04091/0.1495, allocations: 32.57 MB / 359.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.1681, allocations: 15.73 MB / 375.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.1686, allocations: 7.938 kB / 375.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.1695, allocations: 262.4 kB / 375.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008004/0.1703, allocations: 369.9 kB / 376.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2537/0.424, allocations: 5.766 MB / 382 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.4257, allocations: 1.01 MB / 383 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.426, allocations: 110.7 kB / 383.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.4317, allocations: 2.2 MB / 385.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.4322, allocations: 303.3 kB / 385.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.4323, allocations: 40.88 kB / 385.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/0.4458, allocations: 5.932 MB / 391.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.446, allocations: 121.4 kB / 391.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.4466, allocations: 223.8 kB / 391.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.4579, allocations: 3.796 MB / 395.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.458, allocations: 0 / 395.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.458, allocations: 1.859 kB / 395.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.458, allocations: 1.406 kB / 395.7 MB, free: 11.18 MB / 318.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.005078/0.4631, allocations: 0.9882 MB / 396.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4631, allocations: 14.12 kB / 396.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.4647, allocations: 149.3 kB / 396.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.4653, allocations: 319.4 kB / 397.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.4654, allocations: 22.72 kB / 397.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.4655, allocations: 34.3 kB / 397.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.4668, allocations: 0.5142 MB / 397.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.4669, allocations: 10.62 kB / 397.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.4669, allocations: 15.06 kB / 397.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.467, allocations: 8.281 kB / 397.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.4676, allocations: 327.1 kB / 398.1 MB, free: 10.18 MB / 318.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.002799/0.4704, allocations: 2.56 MB / 400.7 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.471, allocations: 274.9 kB / 400.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.4711, allocations: 117.3 kB / 401 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06578/0.5369, allocations: 30.89 MB / 431.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.537, allocations: 38 kB / 432 MB, free: 11.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 7.384e-06/0.5371, allocations: 0 / 432 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004531/0.5416, allocations: 1.203 MB / 433.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.5417, allocations: 51.41 kB / 433.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.5422, allocations: 270.9 kB / 433.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.5423, allocations: 35.45 kB / 433.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.5425, allocations: 190.1 kB / 433.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.5426, allocations: 106.2 kB / 433.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.5427, allocations: 76.66 kB / 433.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.543, allocations: 338.9 kB / 434.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.5432, allocations: 101.1 kB / 434.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.5435, allocations: 215.5 kB / 434.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.5441, allocations: 342.2 kB / 434.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5441, allocations: 0 / 434.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008884/0.545, allocations: 418.5 kB / 435.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.545, allocations: 8 kB / 435.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5451, allocations: 5.312 kB / 435.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.5454, allocations: 62.19 kB / 435.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.5458, allocations: 91.05 kB / 435.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.5478, allocations: 2.526 MB / 438 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.5481, allocations: 13.12 kB / 438 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.5481, allocations: 16 kB / 438 MB, free: 5.523 MB / 350.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.0002903/0.5484, allocations: 165.8 kB / 438.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5486, allocations: 31.7 kB / 438.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.5499, allocations: 0.8545 MB / 439 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.5499, allocations: 10.98 kB / 439 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5499, allocations: 11.94 kB / 439.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001175/0.5511, allocations: 1.039 MB / 440.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.5529, allocations: 1.489 MB / 441.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.553, allocations: 3.938 kB / 441.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5532, allocations: 54.5 kB / 441.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.5537, allocations: 76.7 kB / 441.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.5537, allocations: 8 kB / 441.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004338/0.5542, allocations: 0.5829 MB / 442.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5542, allocations: 4.031 kB / 442.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.5552, allocations: 0.8268 MB / 443.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5554, allocations: 116.6 kB / 443.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.5554, allocations: 15.94 kB / 443.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.5557, allocations: 17.2 kB / 443.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.5558, allocations: 23.91 kB / 443.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.5558, allocations: 17.62 kB / 443.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.5561, allocations: 239.1 kB / 443.6 MB, free: 380 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5561, allocations: 0 / 443.6 MB, free: 380 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.003726/0.5598, allocations: 0.8589 MB / 444.4 MB, free: 15.51 MB / 366.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.007004/0.5668, allocations: 0.9746 MB / 445.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.5682, allocations: 497.7 kB / 445.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.5682, allocations: 1 kB / 445.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.5688, allocations: 252.4 kB / 446.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.5702, allocations: 194.4 kB / 446.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.5722, allocations: 0.9819 MB / 447.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.5728, allocations: 0.8172 MB / 448.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004722/0.5733, allocations: 183 kB / 448.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.5734, allocations: 31.44 kB / 448.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5734, allocations: 7.75 kB / 448.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.05418/0.6276, allocations: 34.85 MB / 483.2 MB, free: 8.852 MB / 398.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/jenkins/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/jenkins/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