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.001041/0.001041, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004907/0.005948, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001037/0.001037, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002454, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9146/0.9146, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07861/0.9932, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.403e-06/1.403e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.48e-05, allocations: 6.312 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0204/0.02041, allocations: 25.22 MB / 269.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.02283, allocations: 2.466 MB / 272.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.02297, allocations: 7.938 kB / 272.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.02328, allocations: 119.3 kB / 272.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000642/0.02392, allocations: 393.4 kB / 272.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1101/0.1341, allocations: 6.217 MB / 279.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1351, allocations: 1.146 MB / 280.3 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.1353, allocations: 91.28 kB / 280.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.1396, allocations: 3.271 MB / 283.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.14, allocations: 360.3 kB / 284 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-05/0.1401, allocations: 58 kB / 284 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/0.1512, allocations: 9.491 MB / 293.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.1514, allocations: 203.2 kB / 293.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1516, allocations: 191.2 kB / 293.9 MB, free: 492 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005387/0.157, allocations: 4.752 MB / 298.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.157, allocations: 0 / 298.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.157, allocations: 0 / 298.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.157, allocations: 4 kB / 298.7 MB, free: 13.57 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.002152/0.1592, allocations: 1.716 MB / 300.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1592, allocations: 8.031 kB / 300.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.1595, allocations: 191.7 kB / 300.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1598, allocations: 259.8 kB / 300.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1598, allocations: 36.98 kB / 300.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.1598, allocations: 47.95 kB / 300.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.1607, allocations: 0.6227 MB / 301.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1607, allocations: 3.828 kB / 301.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.1607, allocations: 24 kB / 301.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1607, allocations: 8 kB / 301.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.1612, allocations: 262.7 kB / 301.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005042/0.1662, allocations: 3.092 MB / 304.9 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.1667, allocations: 310.2 kB / 305.2 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.1668, allocations: 101.4 kB / 305.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003897/0.1707, allocations: 2.39 MB / 307.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1707, allocations: 44.73 kB / 307.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.913e-06/0.1707, allocations: 4 kB / 307.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002913/0.1736, allocations: 1.346 MB / 309.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.1736, allocations: 55.91 kB / 309.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1738, allocations: 227.8 kB / 309.4 MB, free: 2.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1738, allocations: 37.7 kB / 309.4 MB, free: 2.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1739, allocations: 198.3 kB / 309.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.1739, allocations: 200 kB / 309.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.174, allocations: 115.1 kB / 309.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.1741, allocations: 345.1 kB / 310.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.1742, allocations: 68.11 kB / 310.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.1744, allocations: 175.7 kB / 310.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.1749, allocations: 327.9 kB / 310.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1749, allocations: 0 / 310.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006649/0.1755, allocations: 412.8 kB / 311.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1755, allocations: 10.19 kB / 311.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1755, allocations: 3.938 kB / 311.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.1758, allocations: 88.36 kB / 311.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.1761, allocations: 153.8 kB / 311.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1772, allocations: 2.95 MB / 314.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.1774, allocations: 18.3 kB / 314.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.1774, allocations: 27.98 kB / 314.5 MB, free: 13.59 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.0001251/0.1775, allocations: 138.6 kB / 314.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.1777, allocations: 91.62 kB / 314.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.1783, allocations: 0.5051 MB / 315.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1783, allocations: 8 kB / 315.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1783, allocations: 7.984 kB / 315.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003637/0.1787, allocations: 469.8 kB / 315.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1797, allocations: 0.7448 MB / 316.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1797, allocations: 0 / 316.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.18, allocations: 122 kB / 316.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.18, allocations: 27.81 kB / 316.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.1805, allocations: 150.4 kB / 316.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.1805, allocations: 19.98 kB / 316.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000244/0.1807, allocations: 0.6063 MB / 317.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1807, allocations: 0 / 317.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.1814, allocations: 0.5617 MB / 317.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1814, allocations: 12 kB / 317.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1816, allocations: 19.98 kB / 317.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1816, allocations: 36.38 kB / 318 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.1816, allocations: 28.03 kB / 318 MB, free: 9.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.391e-05/0.1817, allocations: 80.2 kB / 318.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1817, allocations: 3.938 kB / 318.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002193/0.1839, allocations: 1.329 MB / 319.4 MB, free: 8.574 MB / 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.003019/0.1869, allocations: 1.93 MB / 321.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.1875, allocations: 0.514 MB / 321.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.1875, allocations: 4 kB / 321.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.1877, allocations: 188.8 kB / 322 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.1884, allocations: 0.9317 MB / 323 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.193, allocations: 0.89 MB / 323.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.776e-05/0.1931, allocations: 130.9 kB / 324 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000251/0.1933, allocations: 103.4 kB / 324.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.1938, allocations: 253 kB / 324.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1938, allocations: 0 / 324.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of Templates: time 0.04198/0.2357, allocations: 50.13 MB / 374.5 MB, free: 1.703 MB / 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.017412943765521]