Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002571, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002493, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.7971/0.7971, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1428/0.9399, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 239.8 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.815e-06/9.107e-06, allocations: 2.312 kB / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.01912/0.01913, allocations: 25.13 MB / 264.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.02128, allocations: 2.447 MB / 267.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.0214, allocations: 4 kB / 267.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.02168, allocations: 131.1 kB / 267.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006102/0.02229, allocations: 389.5 kB / 267.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009166/0.03145, allocations: 6.215 MB / 274.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009698/0.03242, allocations: 1.146 MB / 275.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.03257, allocations: 97.86 kB / 275.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.03538, allocations: 3.259 MB / 278.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.0357, allocations: 367 kB / 278.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.03576, allocations: 63.94 kB / 279 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009266/0.04502, allocations: 9.443 MB / 288.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.04518, allocations: 203.5 kB / 288.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.04533, allocations: 191.8 kB / 288.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.04997, allocations: 4.732 MB / 293.5 MB, free: 456 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.04998, allocations: 4 kB / 293.5 MB, free: 452 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.04998, allocations: 0 / 293.5 MB, free: 452 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.04999, allocations: 3.938 kB / 293.6 MB, free: 448 kB / 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.001636/0.05163, allocations: 1.705 MB / 295.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.05166, allocations: 12.03 kB / 295.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.0519, allocations: 184.7 kB / 295.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.05216, allocations: 252.5 kB / 295.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.05218, allocations: 33 kB / 295.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.05224, allocations: 48 kB / 295.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.05277, allocations: 0.6227 MB / 296.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.05279, allocations: 7.953 kB / 296.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.05282, allocations: 20 kB / 296.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.05283, allocations: 12 kB / 296.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006563/0.05349, allocations: 266.6 kB / 296.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.05819, allocations: 3.095 MB / 299.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.05864, allocations: 313.8 kB / 300.1 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/0.05874, allocations: 111.5 kB / 300.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003816/0.06255, allocations: 2.414 MB / 302.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.06258, allocations: 39.06 kB / 302.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.683e-06/0.06258, allocations: 0 / 302.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002763/0.06534, allocations: 1.346 MB / 304 MB, free: 5.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.06536, allocations: 59.91 kB / 304.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.06548, allocations: 224.9 kB / 304.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.06551, allocations: 37.7 kB / 304.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.06558, allocations: 193.2 kB / 304.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/0.06566, allocations: 202.2 kB / 304.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.06576, allocations: 110.3 kB / 304.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.06583, allocations: 350.7 kB / 305.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.06592, allocations: 64.11 kB / 305.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.06613, allocations: 176.4 kB / 305.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.06655, allocations: 321.7 kB / 305.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.06655, allocations: 3.938 kB / 305.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006534/0.0672, allocations: 417.8 kB / 306.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.06721, allocations: 8 kB / 306.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.06722, allocations: 4 kB / 306.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.06742, allocations: 88.39 kB / 306.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.06774, allocations: 155.8 kB / 306.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.06879, allocations: 2.953 MB / 309.3 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.06891, allocations: 12 kB / 309.3 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.06894, allocations: 27.97 kB / 309.4 MB, free: 8 kB / 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.0001124/0.06905, allocations: 144.7 kB / 309.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.06922, allocations: 95.41 kB / 309.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/0.06978, allocations: 0.5055 MB / 310.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.06979, allocations: 11.92 kB / 310.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.06979, allocations: 0 / 310.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003406/0.07013, allocations: 479.2 kB / 310.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009376/0.07107, allocations: 0.7306 MB / 311.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.07107, allocations: 0 / 311.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.07133, allocations: 127.9 kB / 311.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.07136, allocations: 31.8 kB / 311.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/0.07174, allocations: 143.5 kB / 311.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.07177, allocations: 19.98 kB / 311.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001777/0.07195, allocations: 0.6032 MB / 312.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.07195, allocations: 0 / 312.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.07252, allocations: 0.5623 MB / 312.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.07256, allocations: 12 kB / 312.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.07271, allocations: 23.98 kB / 312.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.07275, allocations: 36.5 kB / 312.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.07278, allocations: 23.97 kB / 312.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.096e-05/0.07284, allocations: 82.78 kB / 313 MB, free: 12.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07284, allocations: 0 / 313 MB, free: 12.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001618/0.07446, allocations: 1.325 MB / 314.3 MB, free: 10.86 MB / 314.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.002847/0.07731, allocations: 1.94 MB / 316.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.07784, allocations: 0.5111 MB / 316.7 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.07785, allocations: 8.281 kB / 316.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.07807, allocations: 194.4 kB / 316.9 MB, free: 8.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/0.07901, allocations: 0.9269 MB / 317.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.08327, allocations: 0.8828 MB / 318.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.365e-05/0.08334, allocations: 134.9 kB / 318.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.08357, allocations: 103.4 kB / 319 MB, free: 5.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.08402, allocations: 261 kB / 319.2 MB, free: 5.66 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.08402, allocations: 4 kB / 319.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of Templates: time 0.14/0.224, allocations: 49.82 MB / 369.1 MB, free: 18.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0391314178705215]