Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 184.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 55.91 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.111, allocations: 46.61 MB / 375.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4182/0.5292, allocations: 172.7 MB / 0.5351 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.5333, allocations: 3.217 MB / 0.5382 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.5336, allocations: 7.938 kB / 0.5382 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.5343, allocations: 174.9 kB / 0.5384 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009292/0.5352, allocations: 403.2 kB / 0.5388 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.5363, allocations: 345.6 kB / 0.5391 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.5374, allocations: 0.8915 MB / 0.54 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.5376, allocations: 104.7 kB / 0.5401 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.5396, allocations: 0.8068 MB / 0.5408 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.54, allocations: 278.9 kB / 0.5411 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.54, allocations: 28 kB / 0.5411 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.5403, allocations: 123.9 kB / 0.5413 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.5404, allocations: 91.72 kB / 0.5413 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.5407, allocations: 191.2 kB / 0.5415 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.5413, allocations: 0.5141 MB / 0.542 GB, free: 11.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5413, allocations: 0 / 0.542 GB, free: 11.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5413, allocations: 0 / 0.542 GB, free: 11.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.5413, allocations: 0 / 0.542 GB, free: 11.18 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008336/0.5421, allocations: 0.5853 MB / 0.5426 GB, free: 10.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5422, allocations: 11.89 kB / 0.5426 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.5425, allocations: 47.61 kB / 0.5427 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.5429, allocations: 294.4 kB / 0.5429 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.5429, allocations: 16.56 kB / 0.543 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.543, allocations: 24 kB / 0.543 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.5435, allocations: 331.6 kB / 0.5433 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5435, allocations: 3.938 kB / 0.5433 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.5436, allocations: 12 kB / 0.5433 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.5436, allocations: 8 kB / 0.5433 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.5439, allocations: 201.5 kB / 0.5435 GB, free: 9.551 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.5458, allocations: 1.589 MB / 0.5451 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.5461, allocations: 167.1 kB / 0.5452 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.5463, allocations: 96.77 kB / 0.5453 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.5463, allocations: 4 kB / 0.5453 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5464, allocations: 42.56 kB / 0.5454 GB, free: 7.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.5464, allocations: 0 / 0.5454 GB, free: 7.488 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005642/0.552, allocations: 1.619 MB / 0.5469 GB, free: 5.738 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5521, allocations: 55.39 kB / 0.547 GB, free: 5.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.5523, allocations: 256.9 kB / 0.5472 GB, free: 5.414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.5524, allocations: 29.7 kB / 0.5473 GB, free: 5.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5525, allocations: 188.1 kB / 0.5474 GB, free: 5.188 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.5526, allocations: 86.66 kB / 0.5475 GB, free: 5.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.5527, allocations: 81.69 kB / 0.5476 GB, free: 5.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5528, allocations: 334.8 kB / 0.5479 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.553, allocations: 91.95 kB / 0.548 GB, free: 4.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.5532, allocations: 191.7 kB / 0.5482 GB, free: 4.359 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.5536, allocations: 304.2 kB / 0.5485 GB, free: 4.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.5536, allocations: 0 / 0.5485 GB, free: 4.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006133/0.5543, allocations: 406.8 kB / 0.5489 GB, free: 3.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5543, allocations: 4 kB / 0.5489 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5543, allocations: 7.984 kB / 0.5489 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.5545, allocations: 69.69 kB / 0.549 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.5549, allocations: 83.89 kB / 0.549 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.5563, allocations: 1.958 MB / 0.5509 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.5565, allocations: 8 kB / 0.551 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.5565, allocations: 43.98 kB / 0.551 GB, free: 1.273 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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.0001639/0.5567, allocations: 154.4 kB / 0.5511 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.5568, allocations: 27.72 kB / 0.5512 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/0.5576, allocations: 439.7 kB / 0.5516 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5576, allocations: 5.5 kB / 0.5516 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5576, allocations: 0 / 0.5516 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.218/0.7756, allocations: 0.558 MB / 0.5521 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.777, allocations: 0.7345 MB / 0.5529 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.777, allocations: 2.781 kB / 0.5529 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.7773, allocations: 73.95 kB / 0.5529 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.7774, allocations: 21.75 kB / 0.5529 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.7775, allocations: 12.48 kB / 0.553 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000805/0.7783, allocations: 1.38 MB / 0.5543 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7783, allocations: 0.6562 kB / 0.5543 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.779, allocations: 482.5 kB / 0.5548 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.7791, allocations: 102.9 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.7791, allocations: 6.938 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.7794, allocations: 10.55 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.7794, allocations: 27.3 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.7795, allocations: 31.14 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.7797, allocations: 197.2 kB / 0.5551 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7797, allocations: 0 / 0.5551 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.7803, allocations: 120.5 kB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003956/0.7807, allocations: 149.6 kB / 0.5554 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008944/0.7816, allocations: 375.8 kB / 0.5557 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.7816, allocations: 4.562 kB / 0.5557 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.782, allocations: 234.2 kB / 0.556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/0.783, allocations: 165 kB / 0.5561 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.7841, allocations: 0.6924 MB / 0.5568 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.7844, allocations: 0.7671 MB / 0.5576 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000412/0.7848, allocations: 121.4 kB / 0.5577 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.785, allocations: 66.48 kB / 0.5577 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.785, allocations: 1.062 kB / 0.5577 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01707/0.8021, allocations: 8.77 MB / 0.5663 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches