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.001368/0.001368, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001533/0.001533, allocations: 217.1 kB / 24.47 MB, free: 3.777 MB / 14.72 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.452/1.452, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 62.56 kB / 347.7 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2768, allocations: 49.16 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03879/0.3155, allocations: 29.84 MB / 426.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0282/0.3437, allocations: 14 MB / 440.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.3442, allocations: 7.938 kB / 440.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3452, allocations: 238.5 kB / 441 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.3464, allocations: 377.9 kB / 441.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02365/0.37, allocations: 5.715 MB / 447.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.372, allocations: 1.021 MB / 448.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.3723, allocations: 73.17 kB / 448.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007381/0.3796, allocations: 2.208 MB / 450.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007169/0.3804, allocations: 298.8 kB / 450.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.3805, allocations: 40 kB / 450.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01847/0.3989, allocations: 5.83 MB / 456.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.3992, allocations: 115.6 kB / 456.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.3997, allocations: 199.4 kB / 456.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.4109, allocations: 3.8 MB / 460.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4109, allocations: 4 kB / 460.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4109, allocations: 0 / 460.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4109, allocations: 0 / 460.6 MB, free: 3.254 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.002906/0.4138, allocations: 0.9356 MB / 461.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4139, allocations: 15.98 kB / 461.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.4162, allocations: 152.6 kB / 461.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.417, allocations: 269.9 kB / 462 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.417, allocations: 25.03 kB / 462 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.4171, allocations: 28.38 kB / 462 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.4193, allocations: 0.7412 MB / 462.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.4193, allocations: 7.938 kB / 462.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.4194, allocations: 20 kB / 462.8 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.4194, allocations: 8 kB / 462.8 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4204, allocations: 322.3 kB / 463.1 MB, free: 0.5977 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.003603/0.424, allocations: 1.669 MB / 464.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.4249, allocations: 266.8 kB / 465.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.4252, allocations: 108.8 kB / 465.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07276/0.498, allocations: 16.84 MB / 482 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.498, allocations: 38.5 kB / 482 MB, free: 13.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.364e-06/0.498, allocations: 4 kB / 482.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003566/0.5016, allocations: 1.054 MB / 483.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.5016, allocations: 55.41 kB / 483.2 MB, free: 12.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.5019, allocations: 227 kB / 483.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.5019, allocations: 33.7 kB / 483.4 MB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.5021, allocations: 196.3 kB / 483.6 MB, free: 11.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.5022, allocations: 119 kB / 483.7 MB, free: 11.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.5023, allocations: 78.09 kB / 483.8 MB, free: 11.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5025, allocations: 330.8 kB / 484.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.5027, allocations: 100.8 kB / 484.2 MB, free: 11.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.503, allocations: 222.8 kB / 484.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.5035, allocations: 334.3 kB / 484.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5035, allocations: 7.938 kB / 484.8 MB, free: 10.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007822/0.5042, allocations: 414.9 kB / 485.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5043, allocations: 8 kB / 485.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.5043, allocations: 4 kB / 485.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.5045, allocations: 57.69 kB / 485.2 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.5049, allocations: 91.89 kB / 485.3 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.5069, allocations: 2.403 MB / 487.7 MB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.5071, allocations: 8 kB / 487.7 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.5071, allocations: 23.92 kB / 487.8 MB, free: 7.488 MB / 398.1 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 (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.0002026/0.5073, allocations: 166 kB / 487.9 MB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.5074, allocations: 31.86 kB / 488 MB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.5086, allocations: 0.8981 MB / 488.9 MB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5086, allocations: 8 kB / 488.9 MB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.5086, allocations: 0 / 488.9 MB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.5098, allocations: 1.069 MB / 489.9 MB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.5116, allocations: 1.344 MB / 491.3 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5116, allocations: 0 / 491.3 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.5118, allocations: 51.92 kB / 491.3 MB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.5121, allocations: 80.73 kB / 491.4 MB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.5122, allocations: 11.94 kB / 491.4 MB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004565/0.5126, allocations: 0.5914 MB / 492 MB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5126, allocations: 3.938 kB / 492 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.5137, allocations: 0.8426 MB / 492.9 MB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.5138, allocations: 39.73 kB / 492.9 MB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.5139, allocations: 11.94 kB / 492.9 MB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.5142, allocations: 24.12 kB / 492.9 MB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.5142, allocations: 19.97 kB / 493 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.5142, allocations: 19.98 kB / 493 MB, free: 2.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.5145, allocations: 209.2 kB / 493.2 MB, free: 1.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5145, allocations: 0 / 493.2 MB, free: 1.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002337/0.5168, allocations: 0.8618 MB / 494 MB, free: 1.008 MB / 398.1 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.003509/0.5203, allocations: 0.9736 MB / 495 MB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.5214, allocations: 480.5 kB / 495.5 MB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5214, allocations: 0 / 495.5 MB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.5218, allocations: 244.4 kB / 495.7 MB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.5227, allocations: 160.5 kB / 495.9 MB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.5245, allocations: 1 MB / 496.9 MB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.5247, allocations: 217 kB / 497.1 MB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.5251, allocations: 182.6 kB / 497.3 MB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.5251, allocations: 31.44 kB / 497.3 MB, free: 13.68 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5251, allocations: 3.938 kB / 497.3 MB, free: 13.67 MB / 414.1 MB Notification: Performance of Templates: time 0.05129/0.5764, allocations: 34.89 MB / 0.5197 GB, free: 10.71 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.262289607897401]