Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002595, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002358, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8836/0.8836, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07606/0.9596, allocations: 53.86 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.483e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02183/0.02185, allocations: 26.2 MB / 271.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.02477, allocations: 2.751 MB / 274.2 MB, free: 492 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.02495, allocations: 7.938 kB / 274.2 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.02529, allocations: 163 kB / 274.3 MB, free: 320 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1123/0.1376, allocations: 0.5331 MB / 274.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.1488, allocations: 6.358 MB / 281.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1503, allocations: 1.617 MB / 282.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.1505, allocations: 151 kB / 283 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009602/0.1515, allocations: 0.8519 MB / 283.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006979/0.1522, allocations: 0.5038 MB / 284.3 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.1523, allocations: 88.91 kB / 284.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.1663, allocations: 9.596 MB / 294 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.1667, allocations: 291.5 kB / 294.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.1671, allocations: 276.6 kB / 294.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008462/0.1756, allocations: 4.933 MB / 299.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.1756, allocations: 0 / 299.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1756, allocations: 0 / 299.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.1756, allocations: 0 / 299.5 MB, free: 11.59 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002801/0.1784, allocations: 1.948 MB / 301.5 MB, free: 9.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1785, allocations: 12.62 kB / 301.5 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.1788, allocations: 222.5 kB / 301.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.1792, allocations: 317.3 kB / 302 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1792, allocations: 45.31 kB / 302 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.1793, allocations: 79.88 kB / 302.1 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.1801, allocations: 0.8461 MB / 303 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1801, allocations: 5.688 kB / 303 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.1801, allocations: 28 kB / 303 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1801, allocations: 16 kB / 303 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.1807, allocations: 358.1 kB / 303.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.1862, allocations: 3.432 MB / 306.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.1871, allocations: 446.4 kB / 307.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1872, allocations: 159.3 kB / 307.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003964/0.1912, allocations: 2.398 MB / 309.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1912, allocations: 47.22 kB / 309.8 MB, free: 1.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.1912, allocations: 6.25 kB / 309.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.004629/0.1959, allocations: 2.217 MB / 312.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.1959, allocations: 64.41 kB / 312.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.196, allocations: 257.1 kB / 312.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.1961, allocations: 41.7 kB / 312.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.1961, allocations: 229.5 kB / 312.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1963, allocations: 320.2 kB / 313 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.1964, allocations: 152.7 kB / 313.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.1965, allocations: 363.9 kB / 313.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1966, allocations: 112.8 kB / 313.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.1969, allocations: 226.8 kB / 313.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.1999, allocations: 449.9 kB / 314.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1999, allocations: 0 / 314.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001151/0.2011, allocations: 0.5939 MB / 314.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2011, allocations: 8 kB / 314.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2011, allocations: 0 / 314.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/0.2015, allocations: 134.7 kB / 315 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.202, allocations: 233.7 kB / 315.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2033, allocations: 3.563 MB / 318.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2035, allocations: 16 kB / 318.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.2036, allocations: 35.98 kB / 318.8 MB, free: 8.176 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * 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.0001729/0.2037, allocations: 156 kB / 319 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.204, allocations: 135.2 kB / 319.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008853/0.2049, allocations: 0.7715 MB / 319.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2049, allocations: 8 kB / 319.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.2049, allocations: 4 kB / 319.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000603/0.2055, allocations: 0.8157 MB / 320.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.2067, allocations: 1.061 MB / 321.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2067, allocations: 0 / 321.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.2071, allocations: 194.2 kB / 321.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.2071, allocations: 50.73 kB / 322 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008265/0.2079, allocations: 285.1 kB / 322.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.208, allocations: 23.98 kB / 322.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/0.2083, allocations: 1.198 MB / 323.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2083, allocations: 3.938 kB / 323.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.2093, allocations: 0.8264 MB / 324.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.2093, allocations: 23.98 kB / 324.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2096, allocations: 23.98 kB / 324.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.2096, allocations: 56.83 kB / 324.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.2096, allocations: 35.97 kB / 324.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.209e-05/0.2097, allocations: 97.81 kB / 324.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2097, allocations: 0 / 324.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002436/0.2122, allocations: 1.403 MB / 326 MB, free: 0.9023 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003237/0.2154, allocations: 1.941 MB / 327.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007115/0.2161, allocations: 0.69 MB / 328.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.2161, allocations: 8 kB / 328.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2165, allocations: 333.6 kB / 328.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2175, allocations: 1.3 MB / 330.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.2232, allocations: 1.279 MB / 331.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.609e-05/0.2233, allocations: 177 kB / 331.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000324/0.2236, allocations: 145 kB / 331.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/0.2243, allocations: 337 kB / 332.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of SimCode: time 4.3e-07/0.2243, allocations: 2.906 kB / 332.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of Templates: time 0.04449/0.2688, allocations: 55.67 MB / 387.8 MB, free: 3.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.680256634019315]