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.0006593/0.0006593, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009337/0.001593, allocations: 449.7 kB / 10.37 MB, free: 328 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.001062/0.001062, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.00243, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.958/0.958, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0817/1.04, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.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.633e-06/1.633e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.089e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.01978/0.0198, allocations: 26.19 MB / 270.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.02247, allocations: 2.755 MB / 273.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.02265, allocations: 11.94 kB / 273.5 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.02301, allocations: 158.9 kB / 273.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.02357, allocations: 0.5434 MB / 274.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.119/0.1426, allocations: 6.355 MB / 280.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1439, allocations: 1.613 MB / 282.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1441, allocations: 156.3 kB / 282.3 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008708/0.145, allocations: 0.8442 MB / 283.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.1455, allocations: 0.5083 MB / 283.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1456, allocations: 83.44 kB / 283.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.1569, allocations: 9.521 MB / 293.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.1571, allocations: 280.5 kB / 293.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.1574, allocations: 276.7 kB / 293.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005542/0.1629, allocations: 4.949 MB / 298.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.1629, allocations: 0 / 298.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1629, allocations: 4 kB / 298.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.163, allocations: 0 / 298.8 MB, free: 13.13 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.003075/0.166, allocations: 1.95 MB / 300.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1661, allocations: 15.97 kB / 300.7 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.1665, allocations: 224 kB / 300.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.1669, allocations: 321.5 kB / 301.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.167, allocations: 50.19 kB / 301.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.1671, allocations: 67.94 kB / 301.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1681, allocations: 0.8518 MB / 302.2 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1681, allocations: 0 / 302.2 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.1682, allocations: 28 kB / 302.3 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1682, allocations: 12 kB / 302.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.1689, allocations: 362.1 kB / 302.6 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006951/0.1759, allocations: 3.437 MB / 306.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/0.1767, allocations: 441.4 kB / 306.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.1769, allocations: 153.5 kB / 306.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005187/0.1821, allocations: 2.403 MB / 309 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1822, allocations: 48.03 kB / 309.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.856e-06/0.1822, allocations: 2.156 kB / 309.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.005189/0.1873, allocations: 2.086 MB / 311.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.1874, allocations: 64.41 kB / 311.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1876, allocations: 252 kB / 311.5 MB, free: 488 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.1876, allocations: 41.7 kB / 311.5 MB, free: 440 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1877, allocations: 227.5 kB / 311.7 MB, free: 212 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.1879, allocations: 325 kB / 312.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.1881, allocations: 153.4 kB / 312.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.1882, allocations: 361.3 kB / 312.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.1884, allocations: 104.8 kB / 312.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1888, allocations: 229 kB / 312.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.1896, allocations: 444.2 kB / 313.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1896, allocations: 7.984 kB / 313.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001286/0.1909, allocations: 0.5894 MB / 313.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1909, allocations: 4 kB / 313.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.1909, allocations: 4 kB / 313.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.1913, allocations: 140.6 kB / 314.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.192, allocations: 237.9 kB / 314.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.1936, allocations: 3.552 MB / 317.9 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.1939, allocations: 16 kB / 317.9 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.1939, allocations: 35.98 kB / 317.9 MB, free: 9.855 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.0001671/0.1941, allocations: 169.2 kB / 318.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.1944, allocations: 135.1 kB / 318.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1956, allocations: 0.7654 MB / 319 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1956, allocations: 8 kB / 319 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1956, allocations: 0 / 319 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008144/0.1965, allocations: 0.8205 MB / 319.8 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.1979, allocations: 1.052 MB / 320.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1979, allocations: 0 / 320.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.1985, allocations: 197.1 kB / 321 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1986, allocations: 49.75 kB / 321.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.1997, allocations: 285.1 kB / 321.4 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.1997, allocations: 31.97 kB / 321.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004583/0.2002, allocations: 1.202 MB / 322.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2002, allocations: 3.281 kB / 322.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.2014, allocations: 0.8139 MB / 323.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.2015, allocations: 31.17 kB / 323.4 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.2018, allocations: 27.98 kB / 323.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.2019, allocations: 56.83 kB / 323.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/0.202, allocations: 35.97 kB / 323.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.2021, allocations: 105 kB / 323.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2021, allocations: 0 / 323.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002527/0.2046, allocations: 1.399 MB / 325.1 MB, free: 2.582 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.003614/0.2082, allocations: 1.935 MB / 327 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.2091, allocations: 0.6765 MB / 327.7 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.2092, allocations: 12 kB / 327.7 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.2096, allocations: 277.7 kB / 328 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2106, allocations: 426.6 kB / 328.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.2185, allocations: 1.292 MB / 329.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2186, allocations: 169 kB / 329.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.2191, allocations: 141 kB / 330 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/0.2199, allocations: 343.8 kB / 330.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2199, allocations: 0 / 330.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of Templates: time 0.04852/0.2684, allocations: 56.56 MB / 386.9 MB, free: 5.242 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 -emit_protected -ignoreHideResult -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: 9.171148680150509]