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.001617/0.001617, allocations: 111 kB / 21.18 MB, free: 0.5156 MB / 14.72 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.00189/0.00189, allocations: 210.8 kB / 24.48 MB, free: 3.695 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|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.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2032, allocations: 53.35 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06887/0.2721, allocations: 58.99 MB / 491.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.2789, allocations: 4.967 MB / 496.3 MB, free: 6.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.2791, allocations: 7.938 kB / 496.3 MB, free: 6.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.2801, allocations: 338 kB / 496.6 MB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008488/0.2809, allocations: 0.5166 MB / 497.1 MB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01755/0.2985, allocations: 7.461 MB / 0.4928 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3003, allocations: 1.571 MB / 0.4943 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.3006, allocations: 145.4 kB / 0.4944 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007881/0.3013, allocations: 0.6464 MB / 0.4951 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/0.3021, allocations: 0.6072 MB / 0.4957 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.3022, allocations: 80 kB / 0.4957 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0164/0.3186, allocations: 9.878 MB / 0.5054 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.319, allocations: 331.2 kB / 0.5057 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.3195, allocations: 382.7 kB / 0.5061 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008609/0.3281, allocations: 5.877 MB / 0.5118 GB, free: 10.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3281, allocations: 0 / 0.5118 GB, free: 10.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3281, allocations: 4 kB / 0.5118 GB, free: 10.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3281, allocations: 0 / 0.5118 GB, free: 10.68 MB / 430.1 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.003149/0.3313, allocations: 1.525 MB / 0.5133 GB, free: 9.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3313, allocations: 8.031 kB / 0.5133 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/0.3317, allocations: 91.56 kB / 0.5134 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.3324, allocations: 383.1 kB / 0.5138 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.3325, allocations: 49.31 kB / 0.5138 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.3326, allocations: 67.94 kB / 0.5139 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.3347, allocations: 1.216 MB / 0.5151 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.3347, allocations: 7.938 kB / 0.5151 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.3348, allocations: 28 kB / 0.5151 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3348, allocations: 12 kB / 0.5151 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.3368, allocations: 1.02 MB / 0.5161 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.3513, allocations: 4.05 MB / 0.5201 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.3531, allocations: 0.7075 MB / 0.5208 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.3537, allocations: 383.9 kB / 0.5211 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.3655, allocations: 2.608 MB / 0.5237 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.3656, allocations: 47.58 kB / 0.5237 GB, free: 14.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.234e-06/0.3656, allocations: 7.938 kB / 0.5237 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009842/0.3754, allocations: 3.151 MB / 0.5268 GB, free: 11.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3754, allocations: 60.41 kB / 0.5269 GB, free: 11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.3758, allocations: 297.8 kB / 0.5271 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/0.3759, allocations: 49.69 kB / 0.5272 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.3761, allocations: 249 kB / 0.5274 GB, free: 10.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.3763, allocations: 317.2 kB / 0.5277 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.3766, allocations: 170.6 kB / 0.5279 GB, free: 9.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3768, allocations: 354.8 kB / 0.5282 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.3774, allocations: 369.8 kB / 0.5286 GB, free: 9.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009785/0.3784, allocations: 492.2 kB / 0.5291 GB, free: 8.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.3802, allocations: 0.9021 MB / 0.5299 GB, free: 7.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3802, allocations: 7.938 kB / 0.5299 GB, free: 7.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002696/0.3829, allocations: 1.113 MB / 0.531 GB, free: 6.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3829, allocations: 11.94 kB / 0.531 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3829, allocations: 4 kB / 0.531 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008707/0.3838, allocations: 171.2 kB / 0.5312 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.3846, allocations: 192 kB / 0.5314 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.3878, allocations: 3.856 MB / 0.5352 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.3881, allocations: 27.95 kB / 0.5352 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/0.3882, allocations: 43.98 kB / 0.5352 GB, free: 2.051 MB / 446.1 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.0003202/0.3885, allocations: 225.6 kB / 0.5354 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.3889, allocations: 55.72 kB / 0.5355 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.3915, allocations: 1.272 MB / 0.5367 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3915, allocations: 16.09 kB / 0.5368 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3915, allocations: 3.938 kB / 0.5368 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1764/0.5679, allocations: 1.311 MB / 0.538 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.5711, allocations: 1.733 MB / 0.5397 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5711, allocations: 3.062 kB / 0.5397 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.5718, allocations: 160.3 kB / 0.5399 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.5737, allocations: 304.7 kB / 0.5402 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.5738, allocations: 31.3 kB / 0.5402 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005505/0.5744, allocations: 1.284 MB / 0.5415 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5744, allocations: 1.125 kB / 0.5415 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.5769, allocations: 1.416 MB / 0.5428 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.577, allocations: 43.67 kB / 0.5429 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5771, allocations: 27.83 kB / 0.5429 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.5777, allocations: 29.17 kB / 0.5429 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5778, allocations: 53.81 kB / 0.543 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.5779, allocations: 44.8 kB / 0.543 GB, free: 104.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.5781, allocations: 240.3 kB / 0.5433 GB, free: 104.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5781, allocations: 0 / 0.5433 GB, free: 104.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0033/0.5814, allocations: 1.429 MB / 0.5447 GB, free: 104 MB / 446.1 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.005268/0.5867, allocations: 1.737 MB / 0.5464 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5884, allocations: 1.103 MB / 0.5474 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5884, allocations: 2.906 kB / 0.5474 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.5892, allocations: 484.8 kB / 0.5479 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.5907, allocations: 343 kB / 0.5482 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.5929, allocations: 1.664 MB / 0.5498 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.5931, allocations: 316.4 kB / 0.5501 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005603/0.5936, allocations: 196.3 kB / 0.5503 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.5938, allocations: 75.33 kB / 0.5504 GB, free: 101.5 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5938, allocations: 0 / 0.5504 GB, free: 101.5 MB / 446.1 MB Notification: Performance of Templates: time 0.04915/0.643, allocations: 50.63 MB / 0.5999 GB, free: 51.78 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.086129335002624]