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.001004/0.001004, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002608, allocations: 449.8 kB / 10.44 MB, free: 248 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.001063/0.001063, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002491, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.8914/0.8914, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07589/0.9673, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.062e-06/1.062e-06, allocations: 0 / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.246e-06/9.308e-06, allocations: 2.312 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.01952/0.01953, allocations: 26.19 MB / 270.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.02267, allocations: 2.759 MB / 273.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.02286, allocations: 7.938 kB / 273.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.02318, allocations: 166.9 kB / 273.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.02384, allocations: 0.5317 MB / 274.4 MB, free: 440 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1126/0.1364, allocations: 6.357 MB / 280.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.138, allocations: 1.617 MB / 282.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.1382, allocations: 146.4 kB / 282.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.1392, allocations: 0.8533 MB / 283.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.14, allocations: 0.5039 MB / 283.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.1401, allocations: 85.5 kB / 283.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/0.1553, allocations: 9.549 MB / 293.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.1557, allocations: 285.7 kB / 293.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.1563, allocations: 276.3 kB / 294 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.1671, allocations: 4.935 MB / 299 MB, free: 12.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.1671, allocations: 0 / 299 MB, free: 12.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1671, allocations: 0 / 299 MB, free: 12.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.1671, allocations: 0 / 299 MB, free: 12.84 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.003705/0.1708, allocations: 1.956 MB / 300.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1709, allocations: 11.98 kB / 300.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.1713, allocations: 222.6 kB / 301.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.1718, allocations: 314.3 kB / 301.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.1718, allocations: 49.31 kB / 301.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1719, allocations: 75.92 kB / 301.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.173, allocations: 0.8402 MB / 302.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.173, allocations: 0 / 302.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.1731, allocations: 28 kB / 302.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1731, allocations: 16 kB / 302.5 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007961/0.1739, allocations: 368.6 kB / 302.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007172/0.1811, allocations: 3.427 MB / 306.3 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.1819, allocations: 445.5 kB / 306.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.1821, allocations: 160.7 kB / 306.8 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005247/0.1874, allocations: 2.403 MB / 309.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1874, allocations: 47.22 kB / 309.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/0.1874, allocations: 0 / 309.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.005852/0.1933, allocations: 2.223 MB / 311.5 MB, free: 368 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1933, allocations: 63.59 kB / 311.6 MB, free: 296 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1935, allocations: 251.9 kB / 311.8 MB, free: 56 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.1936, allocations: 49.64 kB / 311.9 MB, free: 0 / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1937, allocations: 231.1 kB / 312.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.1939, allocations: 321.3 kB / 312.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.194, allocations: 150 kB / 312.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1941, allocations: 365.7 kB / 312.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.1943, allocations: 108.8 kB / 313 MB, free: 14.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.1947, allocations: 228.6 kB / 313.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.1956, allocations: 447.7 kB / 313.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1956, allocations: 0 / 313.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001341/0.197, allocations: 0.5945 MB / 314.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.197, allocations: 5.562 kB / 314.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.197, allocations: 4 kB / 314.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/0.1975, allocations: 138.2 kB / 314.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.1981, allocations: 233.1 kB / 314.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.1998, allocations: 3.547 MB / 318.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2, allocations: 24 kB / 318.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.2, allocations: 31.98 kB / 318.3 MB, free: 9.43 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.0001501/0.2002, allocations: 174.1 kB / 318.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.2004, allocations: 135.2 kB / 318.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.2012, allocations: 0.7673 MB / 319.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2012, allocations: 8 kB / 319.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.2012, allocations: 0 / 319.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005723/0.2018, allocations: 0.8196 MB / 320.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.2029, allocations: 1.055 MB / 321.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2029, allocations: 4 kB / 321.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.2034, allocations: 199.2 kB / 321.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.2034, allocations: 35.72 kB / 321.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.2041, allocations: 293 kB / 321.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.2042, allocations: 27.97 kB / 321.8 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003658/0.2046, allocations: 1.206 MB / 323 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2046, allocations: 3.938 kB / 323 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008872/0.2054, allocations: 0.8232 MB / 323.8 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.2055, allocations: 16 kB / 323.8 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2057, allocations: 31.98 kB / 323.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.2058, allocations: 60.83 kB / 323.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.2058, allocations: 35.95 kB / 323.9 MB, free: 3.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.654e-05/0.2059, allocations: 102.4 kB / 324 MB, free: 3.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2059, allocations: 0 / 324 MB, free: 3.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002507/0.2084, allocations: 1.403 MB / 325.4 MB, free: 2.137 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.003299/0.2117, allocations: 1.933 MB / 327.4 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008449/0.2125, allocations: 0.6859 MB / 328 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/0.2125, allocations: 11.94 kB / 328.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.2129, allocations: 329.5 kB / 328.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2139, allocations: 1.304 MB / 329.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/0.2195, allocations: 1.267 MB / 331 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2196, allocations: 173 kB / 331.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.22, allocations: 149 kB / 331.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.2206, allocations: 341 kB / 331.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2206, allocations: 4 kB / 331.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Templates: time 0.04552/0.2661, allocations: 55.69 MB / 387.3 MB, free: 4.52 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.512052152305841]