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.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.0008088/0.0008088, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001945, 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.0007124/0.0007124, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009834/0.001696, 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.01/1.01, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2282/1.238, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.WaterIF97_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.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.681e-05/4.856e-05, allocations: 2.312 kB / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02176/0.02181, allocations: 14.75 MB / 236.8 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.03478, allocations: 11.32 MB / 248.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.03512, allocations: 7.938 kB / 248.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.03555, allocations: 127.2 kB / 248.2 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.03624, allocations: 389.5 kB / 248.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.04924, allocations: 4.849 MB / 253.5 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.05044, allocations: 1.044 MB / 254.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.05066, allocations: 85.2 kB / 254.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.05443, allocations: 1.947 MB / 256.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.05482, allocations: 263.2 kB / 256.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.05488, allocations: 43.94 kB / 256.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.06673, allocations: 6.161 MB / 263 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.06695, allocations: 95.72 kB / 263.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.06729, allocations: 143.8 kB / 263.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.07758, allocations: 3.329 MB / 266.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-05/0.07761, allocations: 4 kB / 266.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.977e-06/0.07761, allocations: 0 / 266.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.07764, allocations: 0 / 266.6 MB, free: 3.336 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.003138/0.08077, allocations: 1.161 MB / 267.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.08083, allocations: 16.03 kB / 267.7 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009284/0.08175, allocations: 313 kB / 268 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.08209, allocations: 217.2 kB / 268.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.08212, allocations: 29.03 kB / 268.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.08218, allocations: 36.38 kB / 268.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/0.08302, allocations: 0.6585 MB / 269 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.08303, allocations: 0 / 269 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.08306, allocations: 12 kB / 269 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.08307, allocations: 8 kB / 269 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.08361, allocations: 328 kB / 269.3 MB, free: 444 kB / 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.001518/0.08513, allocations: 1.461 MB / 270.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.08582, allocations: 350 kB / 271.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.798e-05/0.08591, allocations: 72.81 kB / 271.2 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.224/0.3099, allocations: 38.89 MB / 310.1 MB, free: 25.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.3099, allocations: 38.25 kB / 310.1 MB, free: 25.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 3.116e-06/0.3099, allocations: 0 / 310.1 MB, free: 25.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002325/0.3123, allocations: 1.025 MB / 311.1 MB, free: 24.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.3123, allocations: 55.41 kB / 311.2 MB, free: 24.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3124, allocations: 211.2 kB / 311.4 MB, free: 23.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3124, allocations: 30.45 kB / 311.4 MB, free: 23.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3125, allocations: 184.5 kB / 311.6 MB, free: 23.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.3125, allocations: 116.6 kB / 311.7 MB, free: 23.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.3126, allocations: 73.77 kB / 311.8 MB, free: 23.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.3126, allocations: 342.9 kB / 312.1 MB, free: 23.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.3127, allocations: 64.92 kB / 312.2 MB, free: 23.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.3128, allocations: 169.4 kB / 312.4 MB, free: 23.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.313, allocations: 281.7 kB / 312.6 MB, free: 22.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.313, allocations: 5.688 kB / 312.6 MB, free: 22.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003115/0.3133, allocations: 314.8 kB / 312.9 MB, free: 22.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3133, allocations: 8 kB / 313 MB, free: 22.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3133, allocations: 7.938 kB / 313 MB, free: 22.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.3135, allocations: 74.02 kB / 313 MB, free: 22.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3137, allocations: 104 kB / 313.1 MB, free: 22.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008187/0.3145, allocations: 2.224 MB / 315.4 MB, free: 20 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3147, allocations: 16 kB / 315.4 MB, free: 19.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3147, allocations: 21.09 kB / 315.4 MB, free: 19.98 MB / 282.7 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 8.847e-05/0.3148, allocations: 140.8 kB / 315.5 MB, free: 19.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.3148, allocations: 36.61 kB / 315.6 MB, free: 19.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.3154, allocations: 0.7996 MB / 316.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.3154, allocations: 19.36 kB / 316.4 MB, free: 19.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.3154, allocations: 3.984 kB / 316.4 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003476/0.3157, allocations: 0.8088 MB / 317.2 MB, free: 18.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.3165, allocations: 1.071 MB / 318.3 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3165, allocations: 8 kB / 318.3 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.3167, allocations: 86.81 kB / 318.4 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.3167, allocations: 47.53 kB / 318.4 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.3169, allocations: 53.78 kB / 318.5 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3169, allocations: 7.25 kB / 318.5 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001224/0.317, allocations: 0.5364 MB / 319 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.317, allocations: 4 kB / 319 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.3175, allocations: 0.694 MB / 319.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3176, allocations: 19.7 kB / 319.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.3177, allocations: 12.3 kB / 319.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.3177, allocations: 39.31 kB / 319.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3178, allocations: 12.08 kB / 319.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.3178, allocations: 101.4 kB / 319.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3178, allocations: 1.641 kB / 319.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002256/0.3201, allocations: 0.8597 MB / 320.7 MB, free: 14.89 MB / 282.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,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 simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003278/0.3234, allocations: 1.157 MB / 321.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.324, allocations: 401.2 kB / 322.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/0.324, allocations: 8.094 kB / 322.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.3243, allocations: 198.7 kB / 322.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.3251, allocations: 0.7908 MB / 323.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.331, allocations: 1.095 MB / 324.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.484e-05/0.3311, allocations: 148.2 kB / 324.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.3314, allocations: 138.5 kB / 324.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.3318, allocations: 180.6 kB / 324.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of SimCode: time 1.924e-06/0.3318, allocations: 0 / 324.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of Templates: time 0.04606/0.3778, allocations: 34.91 MB / 359.7 MB, free: 8.328 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_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.26862220838666]