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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 103.1 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00262/0.00262, allocations: 192.1 kB / 22.93 MB, free: 5.484 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.579/1.579, allocations: 207.6 MB / 233.5 MB, free: 10.97 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 54.58 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 49.12 MB / 394.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0381/0.3492, allocations: 33.04 MB / 427.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02491/0.3741, allocations: 15.85 MB / 443.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.3747, allocations: 4 kB / 443.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009362/0.3756, allocations: 274.3 kB / 443.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009766/0.3766, allocations: 365.9 kB / 444.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.3937, allocations: 5.787 MB / 449.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.3952, allocations: 1.009 MB / 450.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.3954, allocations: 88.97 kB / 451 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/0.4006, allocations: 2.212 MB / 453.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.401, allocations: 318.7 kB / 453.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.4011, allocations: 40 kB / 453.5 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/0.4129, allocations: 6.076 MB / 459.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.4131, allocations: 115.6 kB / 459.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.4135, allocations: 231.2 kB / 459.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009027/0.4225, allocations: 3.804 MB / 463.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.4225, allocations: 4 kB / 463.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4225, allocations: 3.938 kB / 463.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4225, allocations: 0 / 463.7 MB, free: 14.48 MB / 382.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.00276/0.4253, allocations: 1.019 MB / 464.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4253, allocations: 8.031 kB / 464.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.4268, allocations: 152.6 kB / 464.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.4275, allocations: 331.7 kB / 465.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.4275, allocations: 25.03 kB / 465.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.4275, allocations: 28.38 kB / 465.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4289, allocations: 0.5151 MB / 465.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.4289, allocations: 3.938 kB / 465.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.4289, allocations: 20 kB / 465.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4289, allocations: 8 kB / 465.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000847/0.4298, allocations: 325.9 kB / 466.2 MB, free: 11.94 MB / 382.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.003578/0.4334, allocations: 2.562 MB / 468.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.434, allocations: 271.7 kB / 469 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.4342, allocations: 100.8 kB / 469.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06792/0.5021, allocations: 31.03 MB / 0.4884 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.5022, allocations: 42.55 kB / 0.4884 GB, free: 6.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/0.5022, allocations: 3.938 kB / 0.4884 GB, free: 6.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.003579/0.5058, allocations: 1.192 MB / 0.4896 GB, free: 4.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5058, allocations: 59.39 kB / 0.4897 GB, free: 4.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.5061, allocations: 258.6 kB / 0.4899 GB, free: 4.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.5062, allocations: 29.7 kB / 0.4899 GB, free: 4.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.5063, allocations: 196.4 kB / 0.4901 GB, free: 4.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.5064, allocations: 115 kB / 0.4902 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5065, allocations: 74.12 kB / 0.4903 GB, free: 4.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5067, allocations: 342.8 kB / 0.4906 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.5069, allocations: 100.8 kB / 0.4907 GB, free: 3.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.5071, allocations: 214.8 kB / 0.4909 GB, free: 3.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.5076, allocations: 338.3 kB / 0.4913 GB, free: 3.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5076, allocations: 4 kB / 0.4913 GB, free: 3 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007392/0.5083, allocations: 411.2 kB / 0.4917 GB, free: 2.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.5084, allocations: 15.84 kB / 0.4917 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5084, allocations: 4 kB / 0.4917 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.5087, allocations: 57.69 kB / 0.4917 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.5091, allocations: 87.89 kB / 0.4918 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.5111, allocations: 2.537 MB / 0.4943 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.5113, allocations: 12 kB / 0.4943 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.5114, allocations: 16 kB / 0.4943 GB, free: 15.66 MB / 430.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.0002479/0.5116, allocations: 177.7 kB / 0.4945 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.5117, allocations: 35.81 kB / 0.4945 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.513, allocations: 0.8502 MB / 0.4953 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.513, allocations: 15.92 kB / 0.4954 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.513, allocations: 0 / 0.4954 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.5141, allocations: 1.044 MB / 0.4964 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.5161, allocations: 1.489 MB / 0.4978 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5161, allocations: 4 kB / 0.4978 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.5164, allocations: 55.91 kB / 0.4979 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.5167, allocations: 64.8 kB / 0.498 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.5168, allocations: 11.98 kB / 0.498 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004769/0.5173, allocations: 0.5914 MB / 0.4985 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5173, allocations: 4.031 kB / 0.4985 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5184, allocations: 0.821 MB / 0.4994 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.5185, allocations: 120.8 kB / 0.4995 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.5186, allocations: 15.89 kB / 0.4995 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.5189, allocations: 20.14 kB / 0.4995 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.5189, allocations: 23.97 kB / 0.4995 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.519, allocations: 15.98 kB / 0.4995 GB, free: 10.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.5193, allocations: 235 kB / 0.4998 GB, free: 9.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5193, allocations: 0 / 0.4998 GB, free: 9.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002605/0.5219, allocations: 0.8618 MB / 0.5006 GB, free: 8.965 MB / 430.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.003807/0.5257, allocations: 0.9893 MB / 0.5016 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.5267, allocations: 471.2 kB / 0.502 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5267, allocations: 4.062 kB / 0.502 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.5271, allocations: 233.5 kB / 0.5022 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5281, allocations: 184.2 kB / 0.5024 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5298, allocations: 0.999 MB / 0.5034 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.5303, allocations: 0.8211 MB / 0.5042 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.5307, allocations: 186.9 kB / 0.5044 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.5308, allocations: 35.44 kB / 0.5044 GB, free: 4.988 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5308, allocations: 0 / 0.5044 GB, free: 4.988 MB / 430.1 MB Notification: Performance of Templates: time 0.05198/0.5827, allocations: 35.08 MB / 0.5387 GB, free: 1.848 MB / 462.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.45500626321882]