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.001447/0.001447, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001901/0.001901, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.095/2.095, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.002405/0.002405, allocations: 51.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3472, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1167/0.4638, allocations: 58.99 MB / 491.3 MB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02224/0.4861, allocations: 4.959 MB / 496.3 MB, free: 6.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.4865, allocations: 11.88 kB / 496.3 MB, free: 6.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.4879, allocations: 342 kB / 496.6 MB, free: 6.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.4895, allocations: 0.5128 MB / 497.1 MB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03722/0.5267, allocations: 7.466 MB / 0.4928 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.5291, allocations: 1.567 MB / 0.4943 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.5294, allocations: 149.3 kB / 0.4945 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.5306, allocations: 0.6386 MB / 0.4951 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.5316, allocations: 0.6073 MB / 0.4957 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.5317, allocations: 80 kB / 0.4957 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02414/0.5559, allocations: 9.874 MB / 0.5054 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006664/0.5565, allocations: 335.1 kB / 0.5057 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.5574, allocations: 382.8 kB / 0.5061 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.5745, allocations: 5.884 MB / 0.5118 GB, free: 10.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.5745, allocations: 0 / 0.5118 GB, free: 10.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5745, allocations: 0 / 0.5118 GB, free: 10.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.489e-05/0.5745, allocations: 0 / 0.5118 GB, free: 10.69 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.005684/0.5802, allocations: 1.529 MB / 0.5133 GB, free: 9.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5803, allocations: 8.031 kB / 0.5133 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/0.581, allocations: 87.56 kB / 0.5134 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.5821, allocations: 387.1 kB / 0.5138 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.5822, allocations: 49.31 kB / 0.5138 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.5824, allocations: 67.95 kB / 0.5139 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003329/0.5857, allocations: 1.212 MB / 0.5151 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.5857, allocations: 4 kB / 0.5151 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.5858, allocations: 35.98 kB / 0.5151 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.5859, allocations: 12 kB / 0.5151 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.5884, allocations: 1.02 MB / 0.5161 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/0.6091, allocations: 4.05 MB / 0.5201 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.6114, allocations: 0.7078 MB / 0.5208 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.6122, allocations: 386.1 kB / 0.5211 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02249/0.6347, allocations: 2.608 MB / 0.5237 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/0.6348, allocations: 47.16 kB / 0.5237 GB, free: 14.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.997e-06/0.6348, allocations: 4 kB / 0.5237 GB, free: 14.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.03675/0.6715, allocations: 3.151 MB / 0.5268 GB, free: 11.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.6716, allocations: 64.41 kB / 0.5269 GB, free: 11.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.6722, allocations: 297.8 kB / 0.5271 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002056/0.6724, allocations: 45.7 kB / 0.5272 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.6726, allocations: 245.1 kB / 0.5274 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/0.6731, allocations: 321.2 kB / 0.5277 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/0.6735, allocations: 162.6 kB / 0.5279 GB, free: 9.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.6737, allocations: 358.8 kB / 0.5282 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.6747, allocations: 373.8 kB / 0.5286 GB, free: 9.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.6764, allocations: 496.2 kB / 0.5291 GB, free: 8.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.6795, allocations: 0.8981 MB / 0.5299 GB, free: 7.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6796, allocations: 4 kB / 0.5299 GB, free: 7.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01466/0.6942, allocations: 1.11 MB / 0.531 GB, free: 6.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.6942, allocations: 11.94 kB / 0.531 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6943, allocations: 4.078 kB / 0.531 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.6957, allocations: 171.6 kB / 0.5312 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.6971, allocations: 187.7 kB / 0.5314 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.713, allocations: 3.868 MB / 0.5352 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.7137, allocations: 23.94 kB / 0.5352 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.7139, allocations: 47.97 kB / 0.5352 GB, free: 2.062 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.000594/0.7145, allocations: 221.6 kB / 0.5354 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006983/0.7152, allocations: 59.7 kB / 0.5355 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.7193, allocations: 1.268 MB / 0.5367 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.7193, allocations: 8 kB / 0.5367 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.7193, allocations: 11.92 kB / 0.5368 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2842/1.004, allocations: 1.317 MB / 0.538 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/1.007, allocations: 1.722 MB / 0.5397 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.007, allocations: 1.25 kB / 0.5397 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/1.008, allocations: 162.3 kB / 0.5399 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.011, allocations: 303 kB / 0.5402 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/1.011, allocations: 29.31 kB / 0.5402 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006075/1.011, allocations: 1.289 MB / 0.5415 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.011, allocations: 3.719 kB / 0.5415 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/1.014, allocations: 1.417 MB / 0.5428 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.015, allocations: 45.75 kB / 0.5429 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.015, allocations: 23.98 kB / 0.5429 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/1.015, allocations: 34.06 kB / 0.5429 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.015, allocations: 55.69 kB / 0.543 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.016, allocations: 43.66 kB / 0.543 GB, free: 104.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002984/1.016, allocations: 245.5 kB / 0.5433 GB, free: 104.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.016, allocations: 0 / 0.5433 GB, free: 104.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00398/1.02, allocations: 1.424 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.00645/1.026, allocations: 1.736 MB / 0.5464 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002496/1.029, allocations: 1.108 MB / 0.5474 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.029, allocations: 0 / 0.5474 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.03, allocations: 483 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.002003/1.032, allocations: 335.9 kB / 0.5482 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/1.035, allocations: 1.665 MB / 0.5498 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/1.035, allocations: 313.1 kB / 0.5501 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008128/1.036, allocations: 203.8 kB / 0.5503 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/1.036, allocations: 78.89 kB / 0.5504 GB, free: 101.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/1.036, allocations: 0 / 0.5504 GB, free: 101.5 MB / 446.1 MB Notification: Performance of Templates: time 0.06752/1.104, allocations: 50.63 MB / 0.5999 GB, free: 51.82 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 cvode -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: 35.848214037992875]