Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001032/0.001032, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0009635/0.0009635, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 18.57 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.8832/0.8832, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.83e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1235/0.1235, allocations: 25.13 MB / 298 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.126, allocations: 2.426 MB / 300.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1261, allocations: 4.406 kB / 300.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.1266, allocations: 125.4 kB / 300.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.1271, allocations: 390.5 kB / 301 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.1384, allocations: 6.786 MB / 307.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009611/0.1394, allocations: 1.137 MB / 308.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1395, allocations: 95.27 kB / 309 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.1429, allocations: 3.553 MB / 312.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.1433, allocations: 376.5 kB / 312.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.1433, allocations: 59.91 kB / 313 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.1537, allocations: 8.953 MB / 321.9 MB, free: 92 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.1539, allocations: 243.5 kB / 322.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.1541, allocations: 239.6 kB / 322.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007322/0.1615, allocations: 6.158 MB / 328.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1615, allocations: 0 / 328.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1615, allocations: 0 / 328.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1615, allocations: 0 / 328.6 MB, free: 9.441 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002095/0.1636, allocations: 1.388 MB / 329.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1636, allocations: 11.98 kB / 330 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.1639, allocations: 116.5 kB / 330.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1642, allocations: 311.8 kB / 330.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1642, allocations: 33 kB / 330.4 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.1643, allocations: 48 kB / 330.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007041/0.165, allocations: 0.6511 MB / 331.1 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.165, allocations: 4 kB / 331.1 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.1651, allocations: 23.94 kB / 331.1 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1651, allocations: 12 kB / 331.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.1656, allocations: 365.7 kB / 331.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.1715, allocations: 3.47 MB / 335 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.1722, allocations: 314.5 kB / 335.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1723, allocations: 121.1 kB / 335.4 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004722/0.177, allocations: 2.546 MB / 337.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1771, allocations: 41.89 kB / 338 MB, free: 15.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.703e-06/0.1771, allocations: 0 / 338 MB, free: 15.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002814/0.1799, allocations: 1.363 MB / 339.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.1799, allocations: 55.91 kB / 339.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1801, allocations: 304.1 kB / 339.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1801, allocations: 37.7 kB / 339.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1802, allocations: 252 kB / 340 MB, free: 13.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.1803, allocations: 202.2 kB / 340.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.1805, allocations: 123.9 kB / 340.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003454/0.1808, allocations: 0.5118 MB / 340.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.181, allocations: 101.2 kB / 340.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.1813, allocations: 243.5 kB / 341.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.1819, allocations: 374.4 kB / 341.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1819, allocations: 4 kB / 341.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009945/0.1829, allocations: 0.5348 MB / 342 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1829, allocations: 8.906 kB / 342.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1829, allocations: 8 kB / 342.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.1832, allocations: 91 kB / 342.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.1835, allocations: 123.8 kB / 342.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.1852, allocations: 4.393 MB / 346.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.1853, allocations: 12 kB / 346.7 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.1853, allocations: 35.98 kB / 346.7 MB, free: 6.578 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 (67): * Single equations (assignments): 64 * 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 {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.0001332/0.1855, allocations: 188.7 kB / 346.9 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.1857, allocations: 99.33 kB / 347 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008368/0.1865, allocations: 0.6239 MB / 347.6 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1865, allocations: 4 kB / 347.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1865, allocations: 0 / 347.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008086/0.1873, allocations: 0.5725 MB / 348.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1885, allocations: 0.9246 MB / 349.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1885, allocations: 11.88 kB / 349.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.1888, allocations: 99.88 kB / 349.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.1892, allocations: 139.5 kB / 349.4 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.1892, allocations: 19.98 kB / 349.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002809/0.1895, allocations: 0.9089 MB / 350.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1895, allocations: 7.875 kB / 350.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/0.1904, allocations: 0.6774 MB / 351 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1904, allocations: 35.8 kB / 351 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.1905, allocations: 12 kB / 351 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1906, allocations: 24.05 kB / 351.1 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.1907, allocations: 44.36 kB / 351.1 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.1907, allocations: 23.98 kB / 351.1 MB, free: 1.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1909, allocations: 217.1 kB / 351.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1909, allocations: 3.938 kB / 351.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002247/0.1931, allocations: 1.302 MB / 352.6 MB, free: 416 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003084/0.1962, allocations: 1.79 MB / 354.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.1972, allocations: 0.6938 MB / 355.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1972, allocations: 0 / 355.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.1974, allocations: 203 kB / 355.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.1981, allocations: 242.1 kB / 355.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.1994, allocations: 0.9152 MB / 356.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.409e-05/0.1994, allocations: 130.9 kB / 356.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.1997, allocations: 119.3 kB / 356.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.786e-05/0.1998, allocations: 60.48 kB / 356.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1998, allocations: 0 / 356.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of Templates: time 0.04993/0.2497, allocations: 51.76 MB / 408.5 MB, free: 8.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 7.018799999263138]