Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007256/0.0007256, allocations: 91.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 15.98 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02246/0.2446, allocations: 30.22 MB / 405.3 MB, free: 18.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.2575, allocations: 14.63 MB / 420 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.2582, allocations: 7.938 kB / 420 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007771/0.259, allocations: 210.8 kB / 420.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.2597, allocations: 342.2 kB / 420.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01235/0.272, allocations: 4.453 MB / 425 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2736, allocations: 1.223 MB / 426.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2739, allocations: 86.05 kB / 426.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/0.2795, allocations: 3.325 MB / 429.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.28, allocations: 290.9 kB / 429.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.2801, allocations: 16 kB / 429.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.2904, allocations: 5.814 MB / 435.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.2906, allocations: 91.69 kB / 435.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.291, allocations: 225 kB / 436 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.2956, allocations: 2.584 MB / 438.6 MB, free: 1.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2956, allocations: 0 / 438.6 MB, free: 1.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2956, allocations: 0 / 438.6 MB, free: 1.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2956, allocations: 0 / 438.6 MB, free: 1.078 MB / 314.7 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.002231/0.2979, allocations: 0.9086 MB / 439.5 MB, free: 124 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2979, allocations: 8.031 kB / 439.5 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.2992, allocations: 164.4 kB / 439.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.2996, allocations: 331.4 kB / 440 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2996, allocations: 21.03 kB / 440 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.2997, allocations: 36.38 kB / 440 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.3009, allocations: 0.5268 MB / 440.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.3009, allocations: 4 kB / 440.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.301, allocations: 12 kB / 440.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.301, allocations: 8 kB / 440.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.3016, allocations: 321.9 kB / 440.9 MB, free: 14.62 MB / 330.7 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.002997/0.3046, allocations: 2.569 MB / 443.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.3052, allocations: 273.2 kB / 443.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.3054, allocations: 116.8 kB / 443.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05962/0.365, allocations: 31.2 MB / 475.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.3651, allocations: 38.56 kB / 475.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.015e-06/0.3651, allocations: 0 / 475.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003682/0.3688, allocations: 1.215 MB / 476.3 MB, free: 7.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3689, allocations: 59.41 kB / 476.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.3692, allocations: 250.6 kB / 476.6 MB, free: 6.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.3692, allocations: 33.7 kB / 476.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3694, allocations: 196 kB / 476.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/0.3695, allocations: 102.4 kB / 476.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.3695, allocations: 12 kB / 477 MB, free: 6.645 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3697, allocations: 342.7 kB / 477.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3698, allocations: 88.84 kB / 477.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3701, allocations: 218.8 kB / 477.6 MB, free: 5.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.3705, allocations: 338.9 kB / 477.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3706, allocations: 4 kB / 477.9 MB, free: 5.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007604/0.3713, allocations: 407 kB / 478.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3714, allocations: 14.06 kB / 478.3 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3714, allocations: 11.94 kB / 478.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.3717, allocations: 57.69 kB / 478.4 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.3721, allocations: 91.83 kB / 478.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.3738, allocations: 2.43 MB / 480.9 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.3741, allocations: 23.98 kB / 481 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3741, allocations: 19.94 kB / 481 MB, free: 2.324 MB / 362.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.3744, allocations: 161.8 kB / 481.1 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.3745, allocations: 31.62 kB / 481.2 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.3755, allocations: 0.8707 MB / 482 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.3756, allocations: 11.98 kB / 482 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3756, allocations: 4 kB / 482 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009407/0.3765, allocations: 1.049 MB / 483.1 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.3783, allocations: 1.481 MB / 484.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3783, allocations: 0 / 484.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.3785, allocations: 55.97 kB / 484.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.3789, allocations: 68.73 kB / 484.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.3789, allocations: 8 kB / 484.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003783/0.3793, allocations: 0.5991 MB / 485.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3794, allocations: 0 / 485.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.3803, allocations: 0.8236 MB / 486.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3805, allocations: 144.4 kB / 486.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.3806, allocations: 12.16 kB / 486.3 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.3809, allocations: 39.88 kB / 486.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.381, allocations: 19.97 kB / 486.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.381, allocations: 19.98 kB / 486.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.3813, allocations: 231.1 kB / 486.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3813, allocations: 0 / 486.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002844/0.3842, allocations: 0.859 MB / 487.4 MB, free: 11.6 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004787/0.389, allocations: 0.9697 MB / 488.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3901, allocations: 479.5 kB / 488.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3901, allocations: 1 kB / 488.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.3905, allocations: 248.4 kB / 489.1 MB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.3917, allocations: 188.3 kB / 489.3 MB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.3936, allocations: 1.237 MB / 490.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.394, allocations: 0.8172 MB / 491.4 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3941, allocations: 35.44 kB / 491.4 MB, free: 7.566 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3941, allocations: 0 / 491.4 MB, free: 7.566 MB / 378.7 MB Notification: Performance of Templates: time 0.03612/0.4302, allocations: 22.9 MB / 0.5022 GB, free: 0.6328 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches