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.001389/0.001389, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001496/0.001496, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001691/0.001691, allocations: 43.94 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1023, allocations: 53.34 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2551/0.3574, allocations: 66 MB / 492.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007362/0.3648, allocations: 5.481 MB / 498.3 MB, free: 8.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.365, allocations: 9.656 kB / 498.3 MB, free: 8.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009933/0.366, allocations: 366.2 kB / 498.7 MB, free: 8.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.3669, allocations: 0.5126 MB / 499.2 MB, free: 7.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02102/0.388, allocations: 7.474 MB / 0.4948 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.3905, allocations: 1.551 MB / 0.4963 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.3908, allocations: 160.9 kB / 0.4964 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.3918, allocations: 0.6386 MB / 0.4971 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008585/0.3927, allocations: 0.6034 MB / 0.4977 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.3928, allocations: 84 kB / 0.4977 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02057/0.4134, allocations: 10.41 MB / 0.5079 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004917/0.4139, allocations: 327.1 kB / 0.5082 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006523/0.4146, allocations: 438.5 kB / 0.5086 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.4287, allocations: 5.974 MB / 0.5145 GB, free: 12.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4287, allocations: 4 kB / 0.5145 GB, free: 12.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4287, allocations: 0 / 0.5145 GB, free: 12.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.4287, allocations: 0 / 0.5145 GB, free: 12.64 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.00404/0.4327, allocations: 1.612 MB / 0.516 GB, free: 10.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4328, allocations: 12.03 kB / 0.516 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.4332, allocations: 87.56 kB / 0.5161 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.4339, allocations: 453 kB / 0.5166 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.434, allocations: 45.31 kB / 0.5166 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4341, allocations: 63.95 kB / 0.5167 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.4361, allocations: 0.8069 MB / 0.5175 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4361, allocations: 0 / 0.5175 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.4362, allocations: 36.92 kB / 0.5175 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.4362, allocations: 16 kB / 0.5175 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.4383, allocations: 1.02 MB / 0.5185 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/0.4577, allocations: 12.79 MB / 0.531 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.4597, allocations: 0.7064 MB / 0.5317 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.4603, allocations: 390.6 kB / 0.5321 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01721/0.4775, allocations: 12.23 MB / 0.544 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.4776, allocations: 43.84 kB / 0.544 GB, free: 9.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.4776, allocations: 3.938 kB / 0.544 GB, free: 9.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.01242/0.49, allocations: 3.385 MB / 0.5473 GB, free: 6.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.4901, allocations: 60.41 kB / 0.5474 GB, free: 6.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/0.4908, allocations: 356.5 kB / 0.5477 GB, free: 5.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.4909, allocations: 41.7 kB / 0.5478 GB, free: 5.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.4912, allocations: 237.2 kB / 0.548 GB, free: 5.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.4916, allocations: 333.2 kB / 0.5483 GB, free: 5.215 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.492, allocations: 158.6 kB / 0.5485 GB, free: 5.051 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.4922, allocations: 358.8 kB / 0.5488 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000976/0.4932, allocations: 373.8 kB / 0.5492 GB, free: 4.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4948, allocations: 496.2 kB / 0.5496 GB, free: 3.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.4978, allocations: 0.8981 MB / 0.5505 GB, free: 2.883 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4978, allocations: 0 / 0.5505 GB, free: 2.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004093/0.5019, allocations: 1.121 MB / 0.5516 GB, free: 1.742 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.5019, allocations: 8.625 kB / 0.5516 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.502, allocations: 4 kB / 0.5516 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.5033, allocations: 163.5 kB / 0.5518 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.5045, allocations: 199.7 kB / 0.552 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.5091, allocations: 4.109 MB / 0.556 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.5097, allocations: 20.03 kB / 0.556 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.5098, allocations: 48.17 kB / 0.5561 GB, free: 12.86 MB / 478.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.0005379/0.5104, allocations: 221.7 kB / 0.5563 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.5108, allocations: 71.66 kB / 0.5563 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.5146, allocations: 1.284 MB / 0.5576 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.5146, allocations: 12 kB / 0.5576 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5146, allocations: 0 / 0.5576 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/0.5171, allocations: 1.316 MB / 0.5589 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/0.5206, allocations: 1.96 MB / 0.5608 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5206, allocations: 4 kB / 0.5608 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007608/0.5214, allocations: 167.8 kB / 0.561 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.5233, allocations: 301.2 kB / 0.5613 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/0.5234, allocations: 31.98 kB / 0.5613 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009948/0.5244, allocations: 1.285 MB / 0.5625 GB, free: 5.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5244, allocations: 0 / 0.5625 GB, free: 5.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.5273, allocations: 1.425 MB / 0.5639 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.5274, allocations: 136.8 kB / 0.5641 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.5275, allocations: 16 kB / 0.5641 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.5281, allocations: 27.98 kB / 0.5641 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5282, allocations: 56.92 kB / 0.5642 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5283, allocations: 43.97 kB / 0.5642 GB, free: 4.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003519/0.5286, allocations: 283 kB / 0.5645 GB, free: 3.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5286, allocations: 0 / 0.5645 GB, free: 3.906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003984/0.5326, allocations: 1.419 MB / 0.5659 GB, free: 2.484 MB / 478.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.005534/0.5382, allocations: 1.741 MB / 0.5676 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.5405, allocations: 1.105 MB / 0.5686 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5405, allocations: 8.188 kB / 0.5686 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.5415, allocations: 475.2 kB / 0.5691 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.5435, allocations: 391.7 kB / 0.5695 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.5465, allocations: 1.666 MB / 0.5711 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.5472, allocations: 0.9205 MB / 0.572 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00072/0.5479, allocations: 209.1 kB / 0.5722 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.5481, allocations: 79.41 kB / 0.5723 GB, free: 11.81 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5481, allocations: 0 / 0.5723 GB, free: 11.81 MB / 494.1 MB Notification: Performance of Templates: time 0.2454/0.7935, allocations: 50.29 MB / 0.6214 GB, free: 173 MB / 0.5137 GB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/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: 21.429697807878256]