Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0008689/0.0008689, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0008699/0.0008699, allocations: 174.2 kB / 24.92 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9383/0.9383, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.205e-05, allocations: 6.25 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1204/0.1204, allocations: 26.05 MB / 299.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.124, allocations: 2.723 MB / 302.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.1243, allocations: 12.25 kB / 302.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.1248, allocations: 163.5 kB / 302.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007652/0.1256, allocations: 0.5468 MB / 303 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01237/0.138, allocations: 6.382 MB / 309.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.1397, allocations: 1.615 MB / 311 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.14, allocations: 150.2 kB / 311.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000926/0.141, allocations: 0.8266 MB / 312 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.1415, allocations: 0.5022 MB / 312.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.761e-05/0.1415, allocations: 86.06 kB / 312.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.1534, allocations: 9.485 MB / 322 MB, free: 360 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.1537, allocations: 355.1 kB / 322.4 MB, free: 4 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000524/0.1542, allocations: 331.6 kB / 322.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.1657, allocations: 6.364 MB / 329.1 MB, free: 9.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1657, allocations: 4 kB / 329.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1657, allocations: 0 / 329.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1657, allocations: 0 / 329.1 MB, free: 9.293 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.002378/0.1681, allocations: 1.427 MB / 330.5 MB, free: 7.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1681, allocations: 20.02 kB / 330.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.1684, allocations: 144.2 kB / 330.7 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1688, allocations: 315.7 kB / 331 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.1688, allocations: 45.31 kB / 331 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.1689, allocations: 68 kB / 331.1 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.1697, allocations: 0.8479 MB / 331.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.1697, allocations: 11.92 kB / 331.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.1698, allocations: 31.98 kB / 332 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.1698, allocations: 16 kB / 332 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.1704, allocations: 358.1 kB / 332.3 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.1761, allocations: 3.42 MB / 335.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.1768, allocations: 433.9 kB / 336.2 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1769, allocations: 164.8 kB / 336.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004097/0.181, allocations: 2.41 MB / 338.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.1811, allocations: 53.14 kB / 338.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/0.1811, allocations: 0 / 338.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.00433/0.1854, allocations: 2.058 MB / 340.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.1854, allocations: 64.41 kB / 340.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1856, allocations: 252.9 kB / 341.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.1857, allocations: 41.7 kB / 341.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1858, allocations: 229.5 kB / 341.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.1859, allocations: 321.2 kB / 341.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.186, allocations: 154.6 kB / 341.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.1861, allocations: 358.7 kB / 342.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1863, allocations: 108.7 kB / 342.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.1866, allocations: 232.3 kB / 342.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.1872, allocations: 434.9 kB / 343 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1872, allocations: 0 / 343 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001042/0.1883, allocations: 0.5996 MB / 343.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1883, allocations: 4 kB / 343.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1883, allocations: 4 kB / 343.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.1887, allocations: 135.8 kB / 343.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.1892, allocations: 219.8 kB / 344 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.1907, allocations: 3.548 MB / 347.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.1909, allocations: 19.98 kB / 347.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.191, allocations: 39.92 kB / 347.6 MB, free: 6.16 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.0001695/0.1912, allocations: 156.5 kB / 347.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.1914, allocations: 131.2 kB / 347.8 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009392/0.1924, allocations: 0.7732 MB / 348.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1924, allocations: 8 kB / 348.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.1924, allocations: 0 / 348.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006553/0.193, allocations: 0.8311 MB / 349.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.1943, allocations: 1.037 MB / 350.5 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1943, allocations: 0 / 350.5 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.1947, allocations: 194.2 kB / 350.7 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/0.1956, allocations: 278.9 kB / 351 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.1957, allocations: 23.98 kB / 351 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004001/0.1961, allocations: 1.211 MB / 352.2 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1961, allocations: 4 kB / 352.2 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1971, allocations: 0.8188 MB / 353 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1972, allocations: 43.69 kB / 353.1 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.1972, allocations: 27.94 kB / 353.1 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1974, allocations: 27.98 kB / 353.1 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.1975, allocations: 52.89 kB / 353.2 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.1975, allocations: 35.95 kB / 353.2 MB, free: 216 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.022e-05/0.1976, allocations: 96.64 kB / 353.3 MB, free: 112 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1976, allocations: 0 / 353.3 MB, free: 112 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.002777/0.2004, allocations: 1.372 MB / 354.7 MB, free: 14.73 MB / 314.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.003835/0.2042, allocations: 1.869 MB / 356.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009736/0.2052, allocations: 0.6774 MB / 357.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.2052, allocations: 8.188 kB / 357.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.2056, allocations: 278 kB / 357.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/0.2064, allocations: 359 kB / 357.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2082, allocations: 1.215 MB / 359.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2083, allocations: 169 kB / 359.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00039/0.2087, allocations: 148.9 kB / 359.4 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000627/0.2093, allocations: 344.9 kB / 359.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of SimCode: time 1.263e-06/0.2093, allocations: 0 / 359.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of Templates: time 0.05962/0.2689, allocations: 54.96 MB / 414.7 MB, free: 2.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.838473707903177]