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.001148/0.001148, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002609, allocations: 445.7 kB / 10.37 MB, free: 328 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.0008145/0.0008145, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001893, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 0.8515/0.8515, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1314/0.9829, allocations: 49.48 MB / 220.5 MB, free: 1.465 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 1.273e-06/1.273e-06, allocations: 0 / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.29e-05, allocations: 2.312 kB / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01222/0.01223, allocations: 14.73 MB / 236.6 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.02397, allocations: 11.31 MB / 247.9 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.02414, allocations: 7.938 kB / 247.9 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.02458, allocations: 135.1 kB / 248.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.02513, allocations: 385.5 kB / 248.4 MB, free: 5.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009843/0.03497, allocations: 4.852 MB / 253.3 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009833/0.03595, allocations: 1.059 MB / 254.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.03612, allocations: 85.2 kB / 254.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.03949, allocations: 1.953 MB / 256.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.03982, allocations: 255.2 kB / 256.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.03987, allocations: 44 kB / 256.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008637/0.04851, allocations: 6.165 MB / 262.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.04862, allocations: 95.72 kB / 262.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.04878, allocations: 143.8 kB / 263.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004251/0.05303, allocations: 3.353 MB / 266.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.05304, allocations: 0 / 266.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.05304, allocations: 0 / 266.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.05305, allocations: 3.938 kB / 266.4 MB, free: 3.418 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.001497/0.05455, allocations: 1.149 MB / 267.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.05458, allocations: 8.031 kB / 267.6 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.05553, allocations: 321 kB / 267.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.05582, allocations: 217.2 kB / 268.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.05584, allocations: 21.03 kB / 268.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.05589, allocations: 36.38 kB / 268.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.05663, allocations: 0.6434 MB / 268.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.05665, allocations: 3.938 kB / 268.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.05668, allocations: 16 kB / 268.8 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.05669, allocations: 8 kB / 268.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.057, allocations: 180.3 kB / 269 MB, free: 0.668 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.00145/0.05845, allocations: 1.454 MB / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.05878, allocations: 170.5 kB / 270.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.05885, allocations: 60.75 kB / 270.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2106/0.2694, allocations: 58.25 MB / 329 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2695, allocations: 48.84 kB / 329 MB, free: 6.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 3.136e-06/0.2695, allocations: 0 / 329 MB, free: 6.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.001644/0.2711, allocations: 0.7943 MB / 329.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.64e-05/0.2711, allocations: 57.84 kB / 329.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2712, allocations: 210.9 kB / 330.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2712, allocations: 33.14 kB / 330.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.2713, allocations: 191.4 kB / 330.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.2713, allocations: 113.9 kB / 330.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.2714, allocations: 76.53 kB / 330.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.2714, allocations: 340.1 kB / 330.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.2715, allocations: 32.98 kB / 330.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.2715, allocations: 162.8 kB / 331 MB, free: 5.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2717, allocations: 227.5 kB / 331.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2717, allocations: 5.25 kB / 331.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002274/0.2719, allocations: 259.6 kB / 331.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2719, allocations: 8 kB / 331.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2719, allocations: 4 kB / 331.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.2721, allocations: 46.92 kB / 331.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.2723, allocations: 105.8 kB / 331.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.2729, allocations: 2.275 MB / 333.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.273, allocations: 11.38 kB / 333.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.273, allocations: 19.36 kB / 333.9 MB, free: 2.008 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 7.973e-05/0.2731, allocations: 141.3 kB / 334.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.2731, allocations: 30.09 kB / 334.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.2734, allocations: 0.5122 MB / 334.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2735, allocations: 7.984 kB / 334.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.2735, allocations: 0 / 334.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002178/0.2737, allocations: 0.6503 MB / 335.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.2742, allocations: 0.7784 MB / 336 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2742, allocations: 0 / 336 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.2744, allocations: 62.94 kB / 336.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.2744, allocations: 39.22 kB / 336.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.2745, allocations: 49.17 kB / 336.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2746, allocations: 7.375 kB / 336.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000177/0.2747, allocations: 0.5353 MB / 336.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2747, allocations: 0 / 336.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.2751, allocations: 0.4987 MB / 337.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2751, allocations: 23.69 kB / 337.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2752, allocations: 7.938 kB / 337.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.2752, allocations: 23.83 kB / 337.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2753, allocations: 11.92 kB / 337.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.2753, allocations: 93.22 kB / 337.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2753, allocations: 0 / 337.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00142/0.2767, allocations: 0.8607 MB / 338.3 MB, free: 13.8 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.00227/0.279, allocations: 1.147 MB / 339.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.2794, allocations: 340.3 kB / 339.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.2794, allocations: 12 kB / 339.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2796, allocations: 128.8 kB / 339.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.28, allocations: 205.3 kB / 340.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.285, allocations: 0.8689 MB / 340.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.405e-05/0.2851, allocations: 119.3 kB / 341.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.2853, allocations: 172.5 kB / 341.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.2856, allocations: 177 kB / 341.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2856, allocations: 0 / 341.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Templates: time 0.03664/0.3222, allocations: 39.1 MB / 380.5 MB, free: 3.992 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2349480502307415]