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.0008279/0.0008279, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008/0.0008, allocations: 154.5 kB / 25.45 MB, free: 8.344 MB / 18.57 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.8556/0.8556, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.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 2.284e-06/2.284e-06, allocations: 0 / 299.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.579e-05, allocations: 2.281 kB / 299.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02171/0.02173, allocations: 29.63 MB / 329.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.03353, allocations: 14 MB / 343.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.03382, allocations: 7.938 kB / 343.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007056/0.03453, allocations: 250.3 kB / 343.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.0351, allocations: 373.6 kB / 344 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.04614, allocations: 5.798 MB / 349.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.04702, allocations: 1.024 MB / 350.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.04718, allocations: 73.23 kB / 350.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.04992, allocations: 2.341 MB / 353.2 MB, free: 1.152 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.05046, allocations: 271.2 kB / 353.5 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.0505, allocations: 44 kB / 353.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1699/0.2204, allocations: 5.829 MB / 359.4 MB, free: 20.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2206, allocations: 123.5 kB / 359.5 MB, free: 20.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.2209, allocations: 175.1 kB / 359.7 MB, free: 20.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006819/0.2277, allocations: 4.776 MB / 364.5 MB, free: 20.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2277, allocations: 3.688 kB / 364.5 MB, free: 20.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2277, allocations: 0 / 364.5 MB, free: 20.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2278, allocations: 0 / 364.5 MB, free: 20.21 MB / 330.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.001567/0.2293, allocations: 0.934 MB / 365.4 MB, free: 19.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2294, allocations: 13.86 kB / 365.4 MB, free: 19.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.2303, allocations: 153.2 kB / 365.6 MB, free: 19.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.2307, allocations: 263.2 kB / 365.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.2307, allocations: 27.72 kB / 365.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.2308, allocations: 30.75 kB / 365.9 MB, free: 19.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.2318, allocations: 0.736 MB / 366.6 MB, free: 19.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.2318, allocations: 4.844 kB / 366.6 MB, free: 19.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.2319, allocations: 20.78 kB / 366.6 MB, free: 19.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2319, allocations: 7.625 kB / 366.6 MB, free: 19.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.2324, allocations: 320.7 kB / 366.9 MB, free: 19.1 MB / 330.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.001822/0.2342, allocations: 1.67 MB / 368.6 MB, free: 18.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.2348, allocations: 265.1 kB / 368.9 MB, free: 18.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2349, allocations: 106.4 kB / 369 MB, free: 18.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03501/0.2699, allocations: 16.84 MB / 385.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.2699, allocations: 38.06 kB / 385.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.625e-06/0.2699, allocations: 0 / 385.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.002109/0.2721, allocations: 1.052 MB / 386.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2721, allocations: 55.41 kB / 387 MB, free: 11.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2722, allocations: 229.2 kB / 387.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2723, allocations: 33.2 kB / 387.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.2723, allocations: 200 kB / 387.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.2724, allocations: 120.4 kB / 387.5 MB, free: 11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.2724, allocations: 67.45 kB / 387.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.2725, allocations: 343.1 kB / 387.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.2726, allocations: 93.52 kB / 388 MB, free: 10.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2727, allocations: 217.2 kB / 388.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.273, allocations: 337.6 kB / 388.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.273, allocations: 4 kB / 388.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003997/0.2734, allocations: 415.2 kB / 389 MB, free: 9.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2734, allocations: 8 kB / 389 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2734, allocations: 8.188 kB / 389 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.2736, allocations: 55.94 kB / 389.1 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2738, allocations: 98.3 kB / 389.1 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000765/0.2745, allocations: 2.381 MB / 391.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2746, allocations: 14.94 kB / 391.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.2747, allocations: 22.14 kB / 391.6 MB, free: 7.184 MB / 330.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 (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.000122/0.2748, allocations: 166.2 kB / 391.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.2748, allocations: 31.81 kB / 391.8 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.2754, allocations: 0.9055 MB / 392.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2754, allocations: 7.125 kB / 392.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.2754, allocations: 0.9844 kB / 392.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004555/0.2759, allocations: 1.073 MB / 393.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008654/0.2767, allocations: 1.337 MB / 395.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2767, allocations: 2 kB / 395.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2768, allocations: 59.12 kB / 395.1 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/0.277, allocations: 71.8 kB / 395.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.277, allocations: 14.17 kB / 395.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001549/0.2772, allocations: 0.5981 MB / 395.8 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2772, allocations: 1.078 kB / 395.8 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.2777, allocations: 0.8429 MB / 396.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.2777, allocations: 35.92 kB / 396.7 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2777, allocations: 19.33 kB / 396.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2779, allocations: 19.86 kB / 396.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.2779, allocations: 23.89 kB / 396.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2779, allocations: 15.42 kB / 396.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.278, allocations: 207.3 kB / 397 MB, free: 3.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.278, allocations: 1.031 kB / 397 MB, free: 3.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002836/0.2809, allocations: 0.8698 MB / 397.9 MB, free: 2.176 MB / 330.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.002248/0.2831, allocations: 1.09 MB / 398.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005525/0.2837, allocations: 481 kB / 399.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2837, allocations: 0 / 399.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.2838, allocations: 238.7 kB / 399.6 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.2843, allocations: 147.9 kB / 399.8 MB, free: 408 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2854, allocations: 0.9548 MB / 400.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2856, allocations: 221.1 kB / 401 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.2856, allocations: 32.5 kB / 401 MB, free: 15.17 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.2856, allocations: 0 / 401 MB, free: 15.17 MB / 346.7 MB Notification: Performance of Templates: time 0.02426/0.3099, allocations: 22.99 MB / 424 MB, free: 8.223 MB / 362.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=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: 6.460075098089874]