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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 103.6 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007382/0.0007383, allocations: 40.03 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1964, allocations: 46.62 MB / 373.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3292/0.5257, allocations: 170.6 MB / 0.5317 GB, free: 28 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.5289, allocations: 3.229 MB / 0.5348 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.5291, allocations: 4.625 kB / 0.5348 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.5297, allocations: 145.8 kB / 0.535 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.5304, allocations: 387.2 kB / 0.5353 GB, free: 15.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.5311, allocations: 322.1 kB / 0.5356 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.5322, allocations: 1.346 MB / 0.5369 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.5323, allocations: 83.03 kB / 0.537 GB, free: 15.87 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.5339, allocations: 0.7176 MB / 0.5377 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.5342, allocations: 289.4 kB / 0.538 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.5342, allocations: 15.06 kB / 0.538 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.5345, allocations: 107.7 kB / 0.5381 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.5346, allocations: 81.59 kB / 0.5382 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.5348, allocations: 179.1 kB / 0.5384 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.5353, allocations: 0.5028 MB / 0.5389 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5353, allocations: 0 / 0.5389 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.5353, allocations: 4 kB / 0.5389 GB, free: 15.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.5353, allocations: 0 / 0.5389 GB, free: 15.81 MB / 394.7 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.0007748/0.5361, allocations: 0.5878 MB / 0.5394 GB, free: 15.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5361, allocations: 11.39 kB / 0.5394 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.5364, allocations: 41.94 kB / 0.5395 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.5367, allocations: 287.2 kB / 0.5398 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.5368, allocations: 16.42 kB / 0.5398 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.5368, allocations: 30.66 kB / 0.5398 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.5372, allocations: 317.6 kB / 0.5401 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5373, allocations: 3.938 kB / 0.5401 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.5373, allocations: 13.98 kB / 0.5401 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5373, allocations: 5.062 kB / 0.5401 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.5376, allocations: 205.9 kB / 0.5403 GB, free: 15.02 MB / 394.7 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.001616/0.5392, allocations: 1.591 MB / 0.5419 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.5395, allocations: 170.5 kB / 0.542 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.5397, allocations: 101.7 kB / 0.5421 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.5397, allocations: 8.969 kB / 0.5421 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5397, allocations: 35.91 kB / 0.5422 GB, free: 13.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.5397, allocations: 0 / 0.5422 GB, free: 13.75 MB / 394.7 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.005081/0.5448, allocations: 1.617 MB / 0.5438 GB, free: 13.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.5449, allocations: 55.69 kB / 0.5438 GB, free: 12.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.5451, allocations: 253.2 kB / 0.5441 GB, free: 12.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.5451, allocations: 30.89 kB / 0.5441 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.5452, allocations: 176.5 kB / 0.5443 GB, free: 12.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.5453, allocations: 99.3 kB / 0.5443 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.5454, allocations: 86.67 kB / 0.5444 GB, free: 12.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.5455, allocations: 335.9 kB / 0.5448 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.5456, allocations: 87.91 kB / 0.5448 GB, free: 12.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.5458, allocations: 193.5 kB / 0.545 GB, free: 12.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.5462, allocations: 311 kB / 0.5453 GB, free: 12.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5462, allocations: 4 kB / 0.5453 GB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005339/0.5467, allocations: 388.2 kB / 0.5457 GB, free: 11.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5467, allocations: 7.656 kB / 0.5457 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5468, allocations: 5.75 kB / 0.5457 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.547, allocations: 78.86 kB / 0.5458 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.5473, allocations: 81.5 kB / 0.5459 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.5484, allocations: 1.861 MB / 0.5477 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.5486, allocations: 25.77 kB / 0.5477 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.5487, allocations: 46.48 kB / 0.5477 GB, free: 10.06 MB / 394.7 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.0001365/0.5488, allocations: 154 kB / 0.5479 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.5489, allocations: 34.72 kB / 0.5479 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008379/0.5497, allocations: 432.9 kB / 0.5483 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5498, allocations: 7.578 kB / 0.5483 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.5498, allocations: 1.812 kB / 0.5483 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004358/0.5502, allocations: 0.5557 MB / 0.5489 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.5511, allocations: 0.7365 MB / 0.5496 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5511, allocations: 2.719 kB / 0.5496 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.5514, allocations: 74.14 kB / 0.5497 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-05/0.5515, allocations: 20.16 kB / 0.5497 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.5515, allocations: 11.16 kB / 0.5497 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006837/0.5522, allocations: 1.287 MB / 0.551 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5522, allocations: 0 / 0.551 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/0.5786, allocations: 5.778 MB / 0.5566 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.5787, allocations: 97.86 kB / 0.5567 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.5787, allocations: 6.688 kB / 0.5567 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.579, allocations: 25.58 kB / 0.5567 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.5791, allocations: 25.62 kB / 0.5568 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.5792, allocations: 32.52 kB / 0.5568 GB, free: 4.039 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.5794, allocations: 192.7 kB / 0.557 GB, free: 3.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5794, allocations: 0 / 0.557 GB, free: 3.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001033/0.5804, allocations: 331.8 kB / 0.5573 GB, free: 3.926 MB / 394.7 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.001074/0.5815, allocations: 207.6 kB / 0.5575 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.5822, allocations: 372.6 kB / 0.5578 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5822, allocations: 0 / 0.5578 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.5825, allocations: 235 kB / 0.5581 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5835, allocations: 160.5 kB / 0.5582 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.585, allocations: 1.132 MB / 0.5593 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.5853, allocations: 0.7743 MB / 0.5601 GB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006955/0.586, allocations: 168.3 kB / 0.5602 GB, free: 1.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.5863, allocations: 100.6 kB / 0.5603 GB, free: 1.832 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5863, allocations: 0 / 0.5603 GB, free: 1.832 MB / 394.7 MB Notification: Performance of Templates: time 0.02607/0.6124, allocations: 21.14 MB / 0.581 GB, free: 13.02 MB / 426.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../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