Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.0008577, allocations: 97.19 kB / 17.3 MB, free: 6.109 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.001085/0.001085, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.609/1.609, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004609/0.0004611, allocations: 15.98 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4271/0.5447, allocations: 171.3 MB / 0.4886 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.5501, allocations: 3.814 MB / 0.4923 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006186/0.5508, allocations: 4 kB / 0.4923 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.552, allocations: 211 kB / 0.4925 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.5534, allocations: 350.3 kB / 0.4928 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.5556, allocations: 499.3 kB / 0.4933 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002229/0.5578, allocations: 1.606 MB / 0.4949 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.5581, allocations: 74.22 kB / 0.4949 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.5613, allocations: 1.184 MB / 0.4961 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007252/0.5621, allocations: 366.8 kB / 0.4964 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.5622, allocations: 20 kB / 0.4965 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.5637, allocations: 0.7368 MB / 0.4972 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.5639, allocations: 207.4 kB / 0.4974 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.5644, allocations: 312.5 kB / 0.4977 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.5659, allocations: 1.133 MB / 0.4988 GB, free: 3.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.566, allocations: 3.938 kB / 0.4988 GB, free: 3.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.566, allocations: 0 / 0.4988 GB, free: 3.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.566, allocations: 0 / 0.4988 GB, free: 3.875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001358/0.5674, allocations: 0.6984 MB / 0.4995 GB, free: 3.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5674, allocations: 8.031 kB / 0.4995 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006882/0.5681, allocations: 127.3 kB / 0.4996 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.5687, allocations: 369.2 kB / 0.5 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.5687, allocations: 29 kB / 0.5 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.5688, allocations: 40 kB / 0.5 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.5697, allocations: 0.5654 MB / 0.5006 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5697, allocations: 0 / 0.5006 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.5698, allocations: 23.98 kB / 0.5006 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5698, allocations: 8 kB / 0.5006 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.5705, allocations: 446.3 kB / 0.501 GB, free: 1.473 MB / 398.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.003242/0.5737, allocations: 2.055 MB / 0.503 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.574, allocations: 146.6 kB / 0.5032 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.5742, allocations: 88.83 kB / 0.5033 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.5742, allocations: 15.86 kB / 0.5033 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.5742, allocations: 38.56 kB / 0.5033 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.5742, allocations: 0 / 0.5033 GB, free: 14.94 MB / 414.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=23): time 0.005785/0.58, allocations: 1.682 MB / 0.505 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5801, allocations: 55.41 kB / 0.505 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.5806, allocations: 481.6 kB / 0.5055 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.5807, allocations: 29.7 kB / 0.5055 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.5809, allocations: 318.4 kB / 0.5058 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.581, allocations: 94.72 kB / 0.5059 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.581, allocations: 53.64 kB / 0.5059 GB, free: 12.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5812, allocations: 358.8 kB / 0.5063 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.5814, allocations: 137.2 kB / 0.5064 GB, free: 11.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.5818, allocations: 432.5 kB / 0.5068 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.5826, allocations: 0.6096 MB / 0.5074 GB, free: 10.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5826, allocations: 4 kB / 0.5074 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000943/0.5835, allocations: 0.6391 MB / 0.508 GB, free: 9.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5836, allocations: 8 kB / 0.5081 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5836, allocations: 12 kB / 0.5081 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.5838, allocations: 54.36 kB / 0.5081 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.5842, allocations: 147.7 kB / 0.5083 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.5857, allocations: 1.852 MB / 0.5101 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.5861, allocations: 27.98 kB / 0.5101 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.5861, allocations: 40 kB / 0.5101 GB, free: 7.293 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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.0002476/0.5864, allocations: 217.7 kB / 0.5103 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.5865, allocations: 47.44 kB / 0.5104 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.587, allocations: 294.9 kB / 0.5107 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.587, allocations: 4 kB / 0.5107 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.587, allocations: 0 / 0.5107 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004792/0.5875, allocations: 0.5277 MB / 0.5112 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.5884, allocations: 0.6942 MB / 0.5119 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5885, allocations: 0 / 0.5119 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.5887, allocations: 51.95 kB / 0.5119 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.329e-05/0.5888, allocations: 24.75 kB / 0.5119 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.5888, allocations: 11.94 kB / 0.5119 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008704/0.5897, allocations: 1.276 MB / 0.5132 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5897, allocations: 4.031 kB / 0.5132 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.5903, allocations: 432.2 kB / 0.5136 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.5904, allocations: 124.6 kB / 0.5137 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.5905, allocations: 4 kB / 0.5137 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.5907, allocations: 15.92 kB / 0.5137 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.5908, allocations: 19.98 kB / 0.5138 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.5908, allocations: 15.98 kB / 0.5138 GB, free: 3.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.5912, allocations: 323.1 kB / 0.5141 GB, free: 2.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5912, allocations: 0 / 0.5141 GB, free: 2.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008336/0.592, allocations: 223.9 kB / 0.5143 GB, free: 2.668 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.00139/0.5934, allocations: 482 kB / 0.5148 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007553/0.5942, allocations: 463.5 kB / 0.5152 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5942, allocations: 0 / 0.5152 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.5944, allocations: 208.1 kB / 0.5154 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.5956, allocations: 213.2 kB / 0.5156 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5969, allocations: 1.074 MB / 0.5167 GB, free: 208 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.5974, allocations: 0.8273 MB / 0.5175 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004893/0.5979, allocations: 145.7 kB / 0.5176 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.598, allocations: 39.44 kB / 0.5176 GB, free: 15.16 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.598, allocations: 0 / 0.5176 GB, free: 15.16 MB / 430.1 MB Notification: Performance of Templates: time 0.01932/0.6173, allocations: 11.49 MB / 0.5289 GB, free: 3.656 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches