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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00183/0.002961, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001602/0.00271, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1835/1.205, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 222 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/4.031e-05, allocations: 2.312 kB / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01656/0.0166, allocations: 14.74 MB / 236.8 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.03071, allocations: 11.32 MB / 248.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.0311, allocations: 4 kB / 248.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.03161, allocations: 135.1 kB / 248.2 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.03235, allocations: 385.5 kB / 248.6 MB, free: 5.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0137/0.04605, allocations: 4.849 MB / 253.4 MB, free: 492 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.0476, allocations: 1.059 MB / 254.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.04786, allocations: 85.2 kB / 254.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.0523, allocations: 1.954 MB / 256.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.05273, allocations: 251.2 kB / 256.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.05279, allocations: 44 kB / 256.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.06392, allocations: 6.161 MB / 263 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.06417, allocations: 99.72 kB / 263.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.06456, allocations: 147.8 kB / 263.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.07622, allocations: 3.345 MB / 266.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.207e-05/0.07624, allocations: 0 / 266.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.07624, allocations: 0 / 266.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.07627, allocations: 4 kB / 266.6 MB, free: 3.309 MB / 266.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.003602/0.07987, allocations: 1.145 MB / 267.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.07993, allocations: 8.031 kB / 267.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.08095, allocations: 321 kB / 268.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.08135, allocations: 213.3 kB / 268.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.08138, allocations: 21.03 kB / 268.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.08143, allocations: 36.38 kB / 268.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/0.08226, allocations: 0.6434 MB / 269 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.08228, allocations: 7.938 kB / 269 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.08232, allocations: 12 kB / 269 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.08233, allocations: 8 kB / 269 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.08263, allocations: 180.3 kB / 269.2 MB, free: 0.5703 MB / 266.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.001931/0.08456, allocations: 1.457 MB / 270.6 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.08495, allocations: 170.4 kB / 270.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.08501, allocations: 52.83 kB / 270.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3211/0.4061, allocations: 58.26 MB / 329.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/0.4061, allocations: 34.56 kB / 329.1 MB, free: 6.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 4.408e-06/0.4061, allocations: 0 / 329.1 MB, free: 6.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002585/0.4087, allocations: 0.8223 MB / 330 MB, free: 5.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.4088, allocations: 57.84 kB / 330 MB, free: 5.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4089, allocations: 213 kB / 330.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4089, allocations: 29.58 kB / 330.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.409, allocations: 195.6 kB / 330.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.4091, allocations: 116.7 kB / 330.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.728e-05/0.4092, allocations: 76.67 kB / 330.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.4092, allocations: 336.1 kB / 331 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.4093, allocations: 32.98 kB / 331 MB, free: 5.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4094, allocations: 159 kB / 331.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.4096, allocations: 245.3 kB / 331.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4096, allocations: 1.25 kB / 331.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003573/0.41, allocations: 268.6 kB / 331.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.41, allocations: 4 kB / 331.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.41, allocations: 4 kB / 331.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.4102, allocations: 45.53 kB / 331.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.4106, allocations: 97.61 kB / 331.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009564/0.4115, allocations: 2.281 MB / 334.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4117, allocations: 10.88 kB / 334.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.4117, allocations: 17.23 kB / 334.1 MB, free: 1.812 MB / 282.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 (volume.medium.phase,fixedMassFlowRate.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 (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.0001287/0.4118, allocations: 154.2 kB / 334.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.4119, allocations: 27.47 kB / 334.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.4124, allocations: 0.5123 MB / 334.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4124, allocations: 10.75 kB / 334.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4124, allocations: 0 / 334.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003452/0.4127, allocations: 0.6516 MB / 335.5 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.4137, allocations: 0.773 MB / 336.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4137, allocations: 6.125 kB / 336.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.4139, allocations: 63.81 kB / 336.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.414, allocations: 35.69 kB / 336.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.4142, allocations: 46.77 kB / 336.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4142, allocations: 5.938 kB / 336.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002951/0.4145, allocations: 0.5322 MB / 336.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4145, allocations: 3.906 kB / 336.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005496/0.4151, allocations: 0.5043 MB / 337.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.4151, allocations: 22.52 kB / 337.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4153, allocations: 18.02 kB / 337.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4153, allocations: 19.22 kB / 337.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.4153, allocations: 11.36 kB / 337.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4154, allocations: 87.41 kB / 337.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4154, allocations: 0 / 337.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003717/0.4192, allocations: 0.8647 MB / 338.4 MB, free: 13.59 MB / 298.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 (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.003699/0.4229, allocations: 1.145 MB / 339.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009971/0.4239, allocations: 351.5 kB / 339.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-05/0.4239, allocations: 7.938 kB / 339.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.4242, allocations: 152.2 kB / 340.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.4255, allocations: 0.7512 MB / 340.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.432, allocations: 0.8568 MB / 341.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4321, allocations: 118.8 kB / 341.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000411/0.4325, allocations: 172.8 kB / 342 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.4329, allocations: 179.5 kB / 342.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4329, allocations: 0 / 342.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of Templates: time 0.04474/0.4776, allocations: 33.77 MB / 375.9 MB, free: 8.473 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.215063184499741]