Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001347, allocations: 109.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 62.61 kB / 306.4 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08403, allocations: 50.53 MB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2146/0.2987, allocations: 65.47 MB / 422.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006294/0.305, allocations: 5.447 MB / 427.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.3054, allocations: 7.938 kB / 427.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.3064, allocations: 314.5 kB / 428.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000823/0.3072, allocations: 489.5 kB / 428.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01803/0.3252, allocations: 6.744 MB / 435.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.327, allocations: 1.559 MB / 437 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.3273, allocations: 209.2 kB / 437.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.3281, allocations: 0.623 MB / 437.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.3288, allocations: 0.6073 MB / 438.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3289, allocations: 88 kB / 438.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/0.3465, allocations: 10.18 MB / 448.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006393/0.3472, allocations: 323.2 kB / 449 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007344/0.348, allocations: 438.4 kB / 449.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.3609, allocations: 6.093 MB / 455.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3609, allocations: 0 / 455.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3609, allocations: 0 / 455.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.361, allocations: 4 kB / 455.5 MB, free: 9.074 MB / 366.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.003739/0.3647, allocations: 1.568 MB / 457.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3648, allocations: 12.03 kB / 457.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.3652, allocations: 79.23 kB / 457.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.3659, allocations: 440.8 kB / 457.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.3659, allocations: 45.31 kB / 457.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/0.366, allocations: 63.91 kB / 457.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.3677, allocations: 0.8184 MB / 458.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3677, allocations: 0 / 458.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.3678, allocations: 32 kB / 458.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3678, allocations: 12 kB / 458.6 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.3697, allocations: 1.024 MB / 459.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.3859, allocations: 12.77 MB / 472.4 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.3876, allocations: 0.7299 MB / 473.1 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.3882, allocations: 414.6 kB / 473.5 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01453/0.4027, allocations: 12.25 MB / 485.8 MB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.4028, allocations: 48.16 kB / 485.8 MB, free: 6.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/0.4028, allocations: 0 / 485.8 MB, free: 6.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009516/0.4123, allocations: 3.385 MB / 489.2 MB, free: 2.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4124, allocations: 68.34 kB / 489.3 MB, free: 2.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.4128, allocations: 360.4 kB / 489.6 MB, free: 2.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.4129, allocations: 41.7 kB / 489.7 MB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.413, allocations: 236.8 kB / 489.9 MB, free: 1.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.4132, allocations: 307.5 kB / 490.2 MB, free: 1.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.4135, allocations: 162.5 kB / 490.3 MB, free: 1.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4136, allocations: 358.8 kB / 490.7 MB, free: 1.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.4142, allocations: 373.8 kB / 491.1 MB, free: 0.7617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/0.4151, allocations: 492.2 kB / 491.5 MB, free: 256 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.4168, allocations: 0.9059 MB / 492.4 MB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4168, allocations: 4 kB / 492.5 MB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002494/0.4193, allocations: 1.109 MB / 493.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4193, allocations: 11.94 kB / 493.6 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4194, allocations: 4 kB / 493.6 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008205/0.4202, allocations: 163.6 kB / 493.7 MB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.421, allocations: 195.7 kB / 493.9 MB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/0.4238, allocations: 4.109 MB / 498 MB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.4243, allocations: 68.09 kB / 498.1 MB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/0.4244, allocations: 43.98 kB / 498.1 MB, free: 9.254 MB / 414.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.0003576/0.4248, allocations: 221.6 kB / 498.4 MB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.4252, allocations: 63.34 kB / 498.4 MB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.4276, allocations: 1.284 MB / 499.7 MB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4276, allocations: 8 kB / 499.7 MB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4276, allocations: 0 / 499.7 MB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/0.4294, allocations: 1.327 MB / 0.4893 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.4326, allocations: 1.971 MB / 0.4912 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4326, allocations: 0 / 0.4912 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.4334, allocations: 167.8 kB / 0.4914 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.4352, allocations: 289.2 kB / 0.4917 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.4353, allocations: 27.98 kB / 0.4917 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007735/0.4361, allocations: 1.293 MB / 0.493 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4361, allocations: 0 / 0.493 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.4387, allocations: 1.425 MB / 0.4943 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.4389, allocations: 120.7 kB / 0.4945 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.439, allocations: 28.06 kB / 0.4945 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.4396, allocations: 55.8 kB / 0.4945 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.4397, allocations: 52.92 kB / 0.4946 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.4398, allocations: 43.97 kB / 0.4946 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003066/0.4401, allocations: 283 kB / 0.4949 GB, free: 292 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4401, allocations: 0 / 0.4949 GB, free: 292 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003658/0.4438, allocations: 1.405 MB / 0.4963 GB, free: 14.88 MB / 430.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.005336/0.4491, allocations: 1.741 MB / 0.498 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.4518, allocations: 1.265 MB / 0.4992 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4518, allocations: 0 / 0.4992 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.4527, allocations: 499.2 kB / 0.4997 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.4546, allocations: 397.9 kB / 0.5001 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.4573, allocations: 1.909 MB / 0.5019 GB, free: 9.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.4578, allocations: 0.9166 MB / 0.5028 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007731/0.4586, allocations: 213.2 kB / 0.503 GB, free: 7.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.4588, allocations: 71.42 kB / 0.5031 GB, free: 7.797 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4588, allocations: 0 / 0.5031 GB, free: 7.797 MB / 430.1 MB Notification: Performance of Templates: time 0.1954/0.6542, allocations: 49.98 MB / 0.5519 GB, free: 143.2 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches