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.001955/0.001955, allocations: 112.2 kB / 21.94 MB, free: 12 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.002388/0.002388, allocations: 198.7 kB / 25.23 MB, free: 3.539 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.427/1.427, allocations: 207.6 MB / 236 MB, free: 9.973 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.001907/0.001907, allocations: 55.94 kB / 348.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2567, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03715/0.2939, allocations: 33.03 MB / 430.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02208/0.316, allocations: 15.87 MB / 446.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.3164, allocations: 4 kB / 446.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008597/0.3172, allocations: 266.4 kB / 446.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000814/0.318, allocations: 374 kB / 447.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.3352, allocations: 5.793 MB / 453 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.337, allocations: 1.032 MB / 454 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3372, allocations: 81.17 kB / 454.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/0.3428, allocations: 2.216 MB / 456.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.3435, allocations: 322.7 kB / 456.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.3436, allocations: 40 kB / 456.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.3557, allocations: 6.072 MB / 462.7 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.356, allocations: 115.6 kB / 462.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.3564, allocations: 235.1 kB / 463.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009857/0.3662, allocations: 3.804 MB / 466.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3662, allocations: 0 / 466.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3662, allocations: 0 / 466.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.271e-05/0.3663, allocations: 4 kB / 466.9 MB, free: 13.94 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.002651/0.3689, allocations: 0.9434 MB / 467.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.369, allocations: 11.98 kB / 467.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.3704, allocations: 152.6 kB / 468 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.371, allocations: 273.9 kB / 468.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.371, allocations: 21.03 kB / 468.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.3711, allocations: 32.38 kB / 468.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3725, allocations: 0.5152 MB / 468.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3725, allocations: 3.984 kB / 468.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.3725, allocations: 20 kB / 468.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3725, allocations: 8 kB / 468.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.3732, allocations: 322.3 kB / 469.2 MB, free: 11.56 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.00338/0.3766, allocations: 2.448 MB / 471.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/0.3772, allocations: 262.8 kB / 471.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.3774, allocations: 108.8 kB / 472 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05869/0.4361, allocations: 16.79 MB / 488.8 MB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.4362, allocations: 34.56 kB / 488.8 MB, free: 7.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.896e-06/0.4362, allocations: 0 / 488.8 MB, free: 7.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003644/0.4398, allocations: 1.054 MB / 489.9 MB, free: 6.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.4399, allocations: 59.34 kB / 489.9 MB, free: 6.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.4402, allocations: 257.9 kB / 490.2 MB, free: 6.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.4402, allocations: 33.7 kB / 490.2 MB, free: 6.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.4404, allocations: 192.4 kB / 490.4 MB, free: 5.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.4405, allocations: 115 kB / 490.5 MB, free: 5.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4406, allocations: 78.12 kB / 490.6 MB, free: 5.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4408, allocations: 338.8 kB / 490.9 MB, free: 5.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.441, allocations: 96.83 kB / 491 MB, free: 5.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.4413, allocations: 214.8 kB / 491.2 MB, free: 5.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.4417, allocations: 342.3 kB / 491.5 MB, free: 4.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4417, allocations: 4 kB / 491.5 MB, free: 4.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008198/0.4426, allocations: 415.2 kB / 492 MB, free: 4.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4426, allocations: 8 kB / 492 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4426, allocations: 4 kB / 492 MB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.4429, allocations: 57.69 kB / 492 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.4433, allocations: 91.83 kB / 492.1 MB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.4453, allocations: 2.425 MB / 494.5 MB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4455, allocations: 12 kB / 494.5 MB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/0.4455, allocations: 20 kB / 494.6 MB, free: 1.508 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.0002333/0.4458, allocations: 161.7 kB / 494.7 MB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.4459, allocations: 35.97 kB / 494.8 MB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.4471, allocations: 0.8907 MB / 495.6 MB, free: 412 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.4471, allocations: 11.92 kB / 495.7 MB, free: 400 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4471, allocations: 4 kB / 495.7 MB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.4482, allocations: 1.065 MB / 496.7 MB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.4502, allocations: 1.506 MB / 498.2 MB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4502, allocations: 0 / 498.2 MB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.4504, allocations: 59.91 kB / 498.3 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.4507, allocations: 68.8 kB / 498.4 MB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4508, allocations: 11.94 kB / 498.4 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000465/0.4512, allocations: 0.6031 MB / 499 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4512, allocations: 0 / 499 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4523, allocations: 0.8465 MB / 499.8 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.4524, allocations: 35.73 kB / 499.9 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.4525, allocations: 15.94 kB / 499.9 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.4528, allocations: 20.14 kB / 499.9 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.4529, allocations: 23.95 kB / 499.9 MB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.4529, allocations: 15.98 kB / 499.9 MB, free: 11.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.4532, allocations: 243 kB / 0.4884 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4532, allocations: 0 / 0.4884 GB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002828/0.456, allocations: 0.8695 MB / 0.4893 GB, free: 10.81 MB / 414.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.004229/0.4602, allocations: 0.9698 MB / 0.4902 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.4613, allocations: 484.3 kB / 0.4907 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4614, allocations: 0 / 0.4907 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.4618, allocations: 240.5 kB / 0.4909 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4629, allocations: 184.2 kB / 0.4911 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.4647, allocations: 1.041 MB / 0.4921 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.4652, allocations: 0.8172 MB / 0.4929 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4653, allocations: 39.42 kB / 0.493 GB, free: 6.961 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4653, allocations: 0 / 0.493 GB, free: 6.961 MB / 414.1 MB Notification: Performance of Templates: time 0.03638/0.5017, allocations: 22.98 MB / 0.5154 GB, free: 15.95 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/jenkins1/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/jenkins1/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: 10.089787623146549]