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.0009047/0.0009047, allocations: 93.84 kB / 17.3 MB, free: 6.344 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.00107/0.001071, allocations: 181.5 kB / 18.2 MB, free: 5.527 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.552/1.552, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004661/0.0004661, allocations: 16 kB / 281.4 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09688, allocations: 47.59 MB / 329 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03474/0.1317, allocations: 32.51 MB / 361.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02051/0.1522, allocations: 16.4 MB / 377.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.1528, allocations: 8 kB / 377.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.1536, allocations: 230.8 kB / 378.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.1544, allocations: 346.2 kB / 378.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1978/0.3522, allocations: 4.667 MB / 383.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.3543, allocations: 1.453 MB / 384.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.3546, allocations: 79.25 kB / 384.7 MB, free: 12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.3594, allocations: 2.13 MB / 386.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.36, allocations: 307.2 kB / 387.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.3601, allocations: 21.53 kB / 387.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/0.375, allocations: 5.997 MB / 393.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.3754, allocations: 92.94 kB / 393.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.376, allocations: 233.2 kB / 393.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.3891, allocations: 3.77 MB / 397.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3892, allocations: 0 / 397.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.3892, allocations: 0 / 397.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3892, allocations: 1.688 kB / 397.2 MB, free: 10.88 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.003481/0.3927, allocations: 0.9065 MB / 398.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3927, allocations: 13.25 kB / 398.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3942, allocations: 162.2 kB / 398.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3946, allocations: 314.2 kB / 398.6 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3946, allocations: 28.69 kB / 398.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.3946, allocations: 31.72 kB / 398.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.3958, allocations: 0.5258 MB / 399.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3958, allocations: 6.75 kB / 399.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.3959, allocations: 14.44 kB / 399.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.3959, allocations: 14.17 kB / 399.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.3964, allocations: 327.7 kB / 399.5 MB, free: 9.613 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.002432/0.3989, allocations: 2.566 MB / 402.1 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.3994, allocations: 277.4 kB / 402.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.3996, allocations: 115.4 kB / 402.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06251/0.4621, allocations: 31.2 MB / 433.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.4622, allocations: 41.34 kB / 433.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.134e-06/0.4622, allocations: 4 kB / 433.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003472/0.4657, allocations: 1.213 MB / 434.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.4657, allocations: 58.31 kB / 435 MB, free: 9.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.466, allocations: 256.9 kB / 435.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.4661, allocations: 36.77 kB / 435.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4662, allocations: 190.5 kB / 435.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.4663, allocations: 105.2 kB / 435.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.4663, allocations: 41.33 kB / 435.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4664, allocations: 338.4 kB / 435.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.4666, allocations: 95.08 kB / 436 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.4668, allocations: 212.3 kB / 436.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.4673, allocations: 351.2 kB / 436.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4673, allocations: 4 kB / 436.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007089/0.468, allocations: 412.6 kB / 437 MB, free: 7.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4681, allocations: 4 kB / 437 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4681, allocations: 4 kB / 437 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.4684, allocations: 64.17 kB / 437 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.4687, allocations: 86.94 kB / 437.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.4704, allocations: 2.433 MB / 439.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.4707, allocations: 29.33 kB / 439.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.4707, allocations: 15.12 kB / 439.6 MB, free: 4.715 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.0002198/0.4709, allocations: 173.7 kB / 439.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.471, allocations: 31.62 kB / 439.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.472, allocations: 0.8609 MB / 440.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.472, allocations: 10.55 kB / 440.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.4721, allocations: 0 / 440.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008949/0.473, allocations: 1.043 MB / 441.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.4747, allocations: 1.496 MB / 443.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4747, allocations: 2.625 kB / 443.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.4749, allocations: 52.34 kB / 443.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003766/0.4753, allocations: 78.09 kB / 443.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.4753, allocations: 19.44 kB / 443.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003888/0.4757, allocations: 0.5902 MB / 444 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4757, allocations: 0 / 444 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009971/0.4767, allocations: 0.8246 MB / 444.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.4769, allocations: 137.6 kB / 444.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.477, allocations: 6.188 kB / 444.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4773, allocations: 39.69 kB / 445 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.4774, allocations: 21.91 kB / 445 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.4774, allocations: 21.3 kB / 445 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.4777, allocations: 232 kB / 445.2 MB, free: 336 kB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4777, allocations: 0 / 445.2 MB, free: 336 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.003519/0.4812, allocations: 0.8532 MB / 446.1 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.005243/0.4865, allocations: 0.9778 MB / 447.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.4876, allocations: 482.7 kB / 447.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4877, allocations: 0 / 447.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.488, allocations: 258.1 kB / 447.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4892, allocations: 178.8 kB / 448 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.491, allocations: 1.213 MB / 449.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.4915, allocations: 0.8289 MB / 450 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003999/0.4919, allocations: 186.4 kB / 450.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.4919, allocations: 34.39 kB / 450.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.492, allocations: 3 kB / 450.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.04777/0.5397, allocations: 34.43 MB / 484.7 MB, free: 9.426 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","../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