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.001444/0.001444, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.00116/0.00116, allocations: 165.1 kB / 25.32 MB, free: 9.07 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.9186/0.9186, allocations: 158.6 MB / 187.2 MB, free: 2.906 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 1.974e-06/1.974e-06, allocations: 3.938 kB / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.898e-05, allocations: 2.312 kB / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01329/0.01332, allocations: 14.68 MB / 265.8 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.02364, allocations: 11.27 MB / 277.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.02388, allocations: 4 kB / 277.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.02431, allocations: 135 kB / 277.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005612/0.02487, allocations: 385.6 kB / 277.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009939/0.03481, allocations: 5.325 MB / 282.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.03596, allocations: 1.055 MB / 283.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.03618, allocations: 81.22 kB / 284 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.03984, allocations: 2.307 MB / 286.3 MB, free: 160 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.04023, allocations: 275.3 kB / 286.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.04029, allocations: 40 kB / 286.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008163/0.04845, allocations: 5.747 MB / 292.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.0486, allocations: 119.6 kB / 292.5 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.04879, allocations: 175.7 kB / 292.7 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007974/0.05676, allocations: 4.44 MB / 297.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.05677, allocations: 0 / 297.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.05677, allocations: 0 / 297.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.05677, allocations: 0 / 297.1 MB, free: 5.355 MB / 282.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.001965/0.05874, allocations: 1.016 MB / 298.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.05878, allocations: 11.98 kB / 298.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.0598, allocations: 219.8 kB / 298.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.0602, allocations: 264 kB / 298.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.06022, allocations: 25.03 kB / 298.6 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.06029, allocations: 44.38 kB / 298.7 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.06124, allocations: 0.6795 MB / 299.4 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.06126, allocations: 4.141 kB / 299.4 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.0613, allocations: 19.94 kB / 299.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.06131, allocations: 8 kB / 299.4 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.06176, allocations: 231.6 kB / 299.6 MB, free: 2.684 MB / 282.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.002093/0.06386, allocations: 2.091 MB / 301.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.06431, allocations: 207.2 kB / 301.9 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.06443, allocations: 79.62 kB / 302 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1411/0.2056, allocations: 16.83 MB / 318.8 MB, free: 33.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2056, allocations: 36.61 kB / 318.9 MB, free: 33.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.2056, allocations: 0 / 318.9 MB, free: 33.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002624/0.2082, allocations: 0.9176 MB / 319.8 MB, free: 33.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.2082, allocations: 56.94 kB / 319.8 MB, free: 32.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.2084, allocations: 276.8 kB / 320.1 MB, free: 32.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2085, allocations: 28.89 kB / 320.1 MB, free: 32.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2086, allocations: 248.7 kB / 320.4 MB, free: 32.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.2086, allocations: 118.1 kB / 320.5 MB, free: 32.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.2087, allocations: 83.67 kB / 320.6 MB, free: 32.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.2088, allocations: 0.5045 MB / 321.1 MB, free: 32.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.2089, allocations: 50.95 kB / 321.1 MB, free: 32.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.2091, allocations: 225.2 kB / 321.3 MB, free: 31.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.2094, allocations: 311.5 kB / 321.7 MB, free: 31.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2094, allocations: 1.5 kB / 321.7 MB, free: 31.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004484/0.2099, allocations: 346.9 kB / 322 MB, free: 31.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.2099, allocations: 11.94 kB / 322 MB, free: 31.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.2099, allocations: 4 kB / 322 MB, free: 31.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.2101, allocations: 55.47 kB / 322.1 MB, free: 31.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.2104, allocations: 93.86 kB / 322.2 MB, free: 31.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.2114, allocations: 3.431 MB / 325.6 MB, free: 27.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2115, allocations: 14.78 kB / 325.6 MB, free: 27.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.2116, allocations: 19.94 kB / 325.6 MB, free: 27.55 MB / 282.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.0001428/0.2117, allocations: 186.1 kB / 325.8 MB, free: 27.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.2118, allocations: 39.67 kB / 325.8 MB, free: 27.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.2123, allocations: 0.5733 MB / 326.4 MB, free: 26.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2123, allocations: 7.938 kB / 326.4 MB, free: 26.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2123, allocations: 0 / 326.4 MB, free: 26.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003776/0.2127, allocations: 0.746 MB / 327.2 MB, free: 26.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.2135, allocations: 0.9955 MB / 328.2 MB, free: 25.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2135, allocations: 0 / 328.2 MB, free: 25.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.2136, allocations: 55.11 kB / 328.2 MB, free: 25.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.2138, allocations: 50.14 kB / 328.3 MB, free: 25.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2138, allocations: 8.5 kB / 328.3 MB, free: 25.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001662/0.214, allocations: 0.8031 MB / 329.1 MB, free: 24.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.214, allocations: 0.875 kB / 329.1 MB, free: 24.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.2145, allocations: 0.6087 MB / 329.7 MB, free: 23.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.2145, allocations: 36.41 kB / 329.7 MB, free: 23.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2145, allocations: 14.08 kB / 329.7 MB, free: 23.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2147, allocations: 19.8 kB / 329.8 MB, free: 23.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.2147, allocations: 19.33 kB / 329.8 MB, free: 23.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.2147, allocations: 19.8 kB / 329.8 MB, free: 23.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.2148, allocations: 222.9 kB / 330 MB, free: 23.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2148, allocations: 6.062 kB / 330 MB, free: 23.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002106/0.2169, allocations: 0.8606 MB / 330.9 MB, free: 22.8 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: 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.002556/0.2195, allocations: 1.067 MB / 331.9 MB, free: 21.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.2201, allocations: 433.6 kB / 332.4 MB, free: 21.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2201, allocations: 1 kB / 332.4 MB, free: 21.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.2203, allocations: 163.1 kB / 332.5 MB, free: 21.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.2208, allocations: 172.7 kB / 332.7 MB, free: 21.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2221, allocations: 0.8431 MB / 333.5 MB, free: 20.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.2221, allocations: 122.6 kB / 333.7 MB, free: 20.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.2224, allocations: 179.3 kB / 333.8 MB, free: 20.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.2224, allocations: 28.5 kB / 333.9 MB, free: 20.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.813e-06/0.2224, allocations: 0 / 333.9 MB, free: 20.04 MB / 282.7 MB Notification: Performance of Templates: time 0.03816/0.2606, allocations: 40.19 MB / 374.1 MB, free: 11.98 MB / 314.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.249204195104539]