Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.002039/0.002039, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001953/0.001953, allocations: 166.9 kB / 25.03 MB, free: 8.418 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 1.545/1.545, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 250.4 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.782e-05/4.022e-05, allocations: 2.312 kB / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.0535/0.05354, allocations: 33.29 MB / 283.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02867/0.08221, allocations: 15.61 MB / 299.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.08301, allocations: 7.938 kB / 299.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.08444, allocations: 242.4 kB / 299.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.08587, allocations: 377.5 kB / 299.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02332/0.1092, allocations: 5.782 MB / 305.7 MB, free: 292 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.1118, allocations: 0.9929 MB / 306.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.112, allocations: 77.23 kB / 306.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00738/0.1194, allocations: 2.314 MB / 309.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.12, allocations: 275.2 kB / 309.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.1201, allocations: 36 kB / 309.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009638/0.1298, allocations: 3.499 MB / 312.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.13, allocations: 111.6 kB / 313 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.1305, allocations: 167.7 kB / 313.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007744/0.1382, allocations: 2.931 MB / 316.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1383, allocations: 3.984 kB / 316.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1383, allocations: 0 / 316.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.1383, allocations: 4 kB / 316.1 MB, free: 5.84 MB / 298.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.002096/0.1404, allocations: 0.8766 MB / 317 MB, free: 4.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1404, allocations: 11.98 kB / 317 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008838/0.1413, allocations: 175.9 kB / 317.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.1418, allocations: 248 kB / 317.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.1418, allocations: 21.03 kB / 317.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.1419, allocations: 36.38 kB / 317.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1429, allocations: 0.6307 MB / 318.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1429, allocations: 4.188 kB / 318.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.143, allocations: 23.94 kB / 318.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.143, allocations: 8 kB / 318.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.1437, allocations: 310.2 kB / 318.4 MB, free: 3.352 MB / 298.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.003814/0.1475, allocations: 2.548 MB / 321 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.1482, allocations: 255 kB / 321.2 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1484, allocations: 103.6 kB / 321.3 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03324/0.1816, allocations: 8.38 MB / 329.7 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.1817, allocations: 37.39 kB / 329.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.1817, allocations: 0 / 329.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.004669/0.1863, allocations: 1.187 MB / 330.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.1864, allocations: 55.41 kB / 331 MB, free: 6.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.1868, allocations: 328.2 kB / 331.3 MB, free: 6.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1869, allocations: 33.7 kB / 331.4 MB, free: 6.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1871, allocations: 259 kB / 331.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1872, allocations: 119.1 kB / 331.7 MB, free: 5.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.1874, allocations: 103.7 kB / 331.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000311/0.1877, allocations: 0.5235 MB / 332.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.1879, allocations: 96.97 kB / 332.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.1883, allocations: 279.6 kB / 332.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.1889, allocations: 410.4 kB / 333.1 MB, free: 4.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.1889, allocations: 0 / 333.1 MB, free: 4.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009172/0.1898, allocations: 460.4 kB / 333.6 MB, free: 3.824 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1898, allocations: 11.94 kB / 333.6 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1898, allocations: 4 kB / 333.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/0.1933, allocations: 267.1 kB / 333.8 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.1936, allocations: 88.3 kB / 333.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.1965, allocations: 2.649 MB / 336.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1967, allocations: 12 kB / 336.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.1968, allocations: 19.98 kB / 336.6 MB, free: 0.6211 MB / 314.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.1971, allocations: 212.5 kB / 336.8 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.1972, allocations: 39.81 kB / 336.9 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.1982, allocations: 0.644 MB / 337.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.1983, allocations: 11.92 kB / 337.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1983, allocations: 0 / 337.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009571/0.1992, allocations: 0.8158 MB / 338.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.2011, allocations: 1.141 MB / 339.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2011, allocations: 0 / 339.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.2013, allocations: 59.91 kB / 339.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.2031, allocations: 251.3 kB / 339.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.2031, allocations: 12 kB / 339.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007427/0.2038, allocations: 0.8508 MB / 340.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.2038, allocations: 4 kB / 340.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.205, allocations: 0.757 MB / 341.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.2051, allocations: 31.75 kB / 341.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.2051, allocations: 19.88 kB / 341.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2053, allocations: 12.06 kB / 341.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.2054, allocations: 19.91 kB / 341.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.2054, allocations: 19.98 kB / 341.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.2057, allocations: 259 kB / 341.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2057, allocations: 3.938 kB / 341.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001985/0.2077, allocations: 0.4916 MB / 342.2 MB, free: 10.75 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.T) * 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 (30): * Single equations (assignments): 27 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/0.2097, allocations: 0.5727 MB / 342.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.2108, allocations: 0.5355 MB / 343.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2108, allocations: 0 / 343.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.2113, allocations: 216.9 kB / 343.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.2123, allocations: 164.8 kB / 343.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2139, allocations: 0.8877 MB / 344.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2142, allocations: 228.3 kB / 344.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.2145, allocations: 102.7 kB / 344.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.2146, allocations: 36.5 kB / 345 MB, free: 7.941 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2146, allocations: 0 / 345 MB, free: 7.941 MB / 330.7 MB Notification: Performance of Templates: time 0.1278/0.3423, allocations: 18.58 MB / 363.6 MB, free: 102.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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: 5.825336579000577]