Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 110.5 kB / 18.4 MB, free: 4.688 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.001897/0.001897, allocations: 187.1 kB / 19.34 MB, free: 3.766 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.297/1.297, 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.001261/0.001261, allocations: 48.53 kB / 329.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07533/0.0766, allocations: 46.62 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.1793/0.2559, allocations: 32.56 MB / 408.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.2732, allocations: 15.73 MB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.2736, allocations: 8.125 kB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.2745, allocations: 268.8 kB / 424.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000794/0.2753, allocations: 365.5 kB / 424.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01562/0.291, allocations: 5.779 MB / 430.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.2921, allocations: 0.9891 MB / 431.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.2923, allocations: 115.8 kB / 431.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004712/0.297, allocations: 2.208 MB / 433.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.2974, allocations: 306.8 kB / 434.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.2974, allocations: 40 kB / 434.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.3079, allocations: 6.064 MB / 440.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.308, allocations: 115.6 kB / 440.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.3082, allocations: 227.2 kB / 440.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005982/0.3142, allocations: 3.774 MB / 444.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3142, allocations: 0 / 444.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3142, allocations: 0 / 444.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.3143, allocations: 0 / 444.4 MB, free: 11.01 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.002371/0.3166, allocations: 1.022 MB / 445.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3167, allocations: 11.89 kB / 445.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.318, allocations: 149.1 kB / 445.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.3184, allocations: 327.6 kB / 445.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.3185, allocations: 33.03 kB / 445.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.3185, allocations: 28.56 kB / 446 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.32, allocations: 0.5502 MB / 446.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3201, allocations: 0 / 446.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.3201, allocations: 16 kB / 446.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3201, allocations: 8 kB / 446.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.3217, allocations: 0.4997 MB / 447 MB, free: 8.254 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.003054/0.3247, allocations: 2.616 MB / 449.6 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.3263, allocations: 442.3 kB / 450.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.3267, allocations: 169.6 kB / 450.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/0.3275, allocations: 0.5602 MB / 450.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3276, allocations: 38.56 kB / 450.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.3276, allocations: 0 / 450.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004852/0.3324, allocations: 1.493 MB / 452.3 MB, free: 2.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.3325, allocations: 59.34 kB / 452.4 MB, free: 2.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3327, allocations: 248.9 kB / 452.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.3328, allocations: 33.7 kB / 452.7 MB, free: 2.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3329, allocations: 188.1 kB / 452.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.333, allocations: 114.2 kB / 453 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.3332, allocations: 82.12 kB / 453 MB, free: 1.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3333, allocations: 330.8 kB / 453.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.3337, allocations: 141.4 kB / 453.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.3342, allocations: 239.4 kB / 453.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.3351, allocations: 397.8 kB / 454.1 MB, free: 0.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3351, allocations: 4 kB / 454.1 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00128/0.3364, allocations: 0.5072 MB / 454.6 MB, free: 56 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3364, allocations: 11.98 kB / 454.7 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3364, allocations: 0 / 454.7 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.3369, allocations: 106.8 kB / 454.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.3373, allocations: 91.81 kB / 454.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.3394, allocations: 2.503 MB / 457.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3397, allocations: 23.97 kB / 457.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3397, allocations: 16 kB / 457.4 MB, free: 13.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.3399, allocations: 169.9 kB / 457.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.34, allocations: 31.66 kB / 457.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.342, allocations: 1.314 MB / 458.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001762/0.3438, allocations: 1.428 MB / 460.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3438, allocations: 0 / 460.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.3439, allocations: 128.4 kB / 460.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.344, allocations: 19.84 kB / 460.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.3444, allocations: 39.94 kB / 460.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3445, allocations: 44.27 kB / 460.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001546/0.346, allocations: 0.8774 MB / 461.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001814/0.3479, allocations: 1.261 MB / 462.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005364/0.3484, allocations: 369 kB / 463.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.3487, allocations: 239.1 kB / 463.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.3487, allocations: 0 / 463.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005474/0.3542, allocations: 1.479 MB / 464.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of SimCode: time 0.001763/0.356, allocations: 1.459 MB / 466.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of Templates: time 0.04661/0.4026, allocations: 38.17 MB / 0.4926 GB, free: 13.81 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches