Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0008507/0.0008507, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001452/0.001452, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9093/0.9093, allocations: 177.1 MB / 205 MB, free: 5.637 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.602e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1306/0.1306, allocations: 25.12 MB / 298.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.1334, allocations: 2.419 MB / 300.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.1335, allocations: 9.5 kB / 300.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.1339, allocations: 122.1 kB / 300.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.1344, allocations: 389.5 kB / 301 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.145, allocations: 6.788 MB / 307.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.1459, allocations: 1.142 MB / 309 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.146, allocations: 103 kB / 309.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/0.1492, allocations: 3.541 MB / 312.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1495, allocations: 373.6 kB / 313 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.1495, allocations: 59.09 kB / 313 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008394/0.1579, allocations: 8.951 MB / 322 MB, free: 108 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.1581, allocations: 243.4 kB / 322.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1583, allocations: 239.5 kB / 322.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006247/0.1645, allocations: 6.154 MB / 328.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1645, allocations: 4 kB / 328.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1645, allocations: 0 / 328.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1646, allocations: 0 / 328.6 MB, free: 9.461 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.001959/0.1665, allocations: 1.38 MB / 330 MB, free: 8.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1665, allocations: 8.031 kB / 330 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.1668, allocations: 120.5 kB / 330.1 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1671, allocations: 311.1 kB / 330.4 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1671, allocations: 29 kB / 330.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.1672, allocations: 52 kB / 330.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.1679, allocations: 0.655 MB / 331.1 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1679, allocations: 0 / 331.1 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.1679, allocations: 20 kB / 331.2 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1679, allocations: 12 kB / 331.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.1687, allocations: 369.6 kB / 331.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.1745, allocations: 3.469 MB / 335 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.1752, allocations: 316 kB / 335.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1753, allocations: 129.1 kB / 335.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004732/0.1801, allocations: 2.535 MB / 338 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1801, allocations: 45.89 kB / 338 MB, free: 15.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.533e-06/0.1801, allocations: 3.938 kB / 338 MB, free: 15.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002865/0.183, allocations: 1.36 MB / 339.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.183, allocations: 55.91 kB / 339.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1832, allocations: 300.2 kB / 339.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1832, allocations: 37.7 kB / 339.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1833, allocations: 256 kB / 340 MB, free: 13.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1834, allocations: 202.2 kB / 340.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1835, allocations: 119.9 kB / 340.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1836, allocations: 0.5157 MB / 340.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1838, allocations: 105.2 kB / 341 MB, free: 12.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.1841, allocations: 235.5 kB / 341.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.1847, allocations: 378.3 kB / 341.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1847, allocations: 0 / 341.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009433/0.1856, allocations: 0.5504 MB / 342.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1856, allocations: 4 kB / 342.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1856, allocations: 4 kB / 342.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.1859, allocations: 87.02 kB / 342.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.1862, allocations: 128.1 kB / 342.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.1879, allocations: 4.393 MB / 346.7 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1881, allocations: 20 kB / 346.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.1881, allocations: 31.98 kB / 346.8 MB, free: 6.602 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.0001297/0.1882, allocations: 184.5 kB / 346.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.1884, allocations: 95.33 kB / 347 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008282/0.1893, allocations: 0.6316 MB / 347.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1893, allocations: 12.06 kB / 347.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1893, allocations: 0 / 347.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000576/0.1898, allocations: 0.5647 MB / 348.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1909, allocations: 0.9199 MB / 349.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1909, allocations: 4 kB / 349.2 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.1911, allocations: 103.8 kB / 349.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.1916, allocations: 143.5 kB / 349.4 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.1916, allocations: 19.98 kB / 349.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000273/0.1919, allocations: 0.905 MB / 350.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1919, allocations: 3.938 kB / 350.3 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.1927, allocations: 0.693 MB / 351 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1928, allocations: 27.81 kB / 351.1 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1928, allocations: 15.98 kB / 351.1 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.193, allocations: 19.98 kB / 351.1 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.193, allocations: 44.31 kB / 351.1 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.193, allocations: 23.98 kB / 351.2 MB, free: 1.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.1932, allocations: 217.1 kB / 351.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1932, allocations: 0 / 351.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002258/0.1954, allocations: 1.306 MB / 352.7 MB, free: 444 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.003229/0.1987, allocations: 1.805 MB / 354.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000762/0.1994, allocations: 0.6859 MB / 355.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1994, allocations: 0.5625 kB / 355.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.1997, allocations: 203.1 kB / 355.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.2003, allocations: 226.4 kB / 355.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2017, allocations: 0.9293 MB / 356.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.281e-05/0.2018, allocations: 126.9 kB / 356.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.202, allocations: 123.4 kB / 356.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.2021, allocations: 52.48 kB / 356.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2021, allocations: 0 / 356.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Templates: time 0.03854/0.2407, allocations: 44.13 MB / 400.9 MB, free: 224 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 8.195674461778253]