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.001397/0.001397, allocations: 118.7 kB / 17.28 MB, free: 6.219 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.001562/0.001562, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.498/1.498, allocations: 205.1 MB / 224 MB, free: 12.36 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.001223/0.001223, allocations: 43.94 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 46.63 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.454/0.5717, allocations: 173.3 MB / 0.4884 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.5763, allocations: 3.821 MB / 0.4921 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.5765, allocations: 7.938 kB / 0.4921 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.5773, allocations: 207.1 kB / 0.4923 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006556/0.578, allocations: 346.3 kB / 0.4927 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.5795, allocations: 499.4 kB / 0.4931 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.5807, allocations: 1.107 MB / 0.4942 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.581, allocations: 106.7 kB / 0.4943 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.5843, allocations: 1.232 MB / 0.4955 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.5849, allocations: 370.8 kB / 0.4959 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-05/0.585, allocations: 44 kB / 0.4959 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.5864, allocations: 0.729 MB / 0.4966 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.5867, allocations: 227.4 kB / 0.4968 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.587, allocations: 318.9 kB / 0.4971 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.5885, allocations: 1.165 MB / 0.4983 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5885, allocations: 0 / 0.4983 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5885, allocations: 0 / 0.4983 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.5885, allocations: 0 / 0.4983 GB, free: 8 kB / 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.001384/0.5899, allocations: 0.8075 MB / 0.4991 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5899, allocations: 16.03 kB / 0.4991 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006286/0.5906, allocations: 115.4 kB / 0.4992 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.5911, allocations: 381.1 kB / 0.4996 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.5911, allocations: 29 kB / 0.4996 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.5912, allocations: 36 kB / 0.4996 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.5921, allocations: 0.5654 MB / 0.5002 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.5921, allocations: 0 / 0.5002 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.5922, allocations: 19.98 kB / 0.5002 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5922, allocations: 12 kB / 0.5002 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.5928, allocations: 446.4 kB / 0.5006 GB, free: 13.49 MB / 414.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.003219/0.5961, allocations: 2.125 MB / 0.5027 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.5963, allocations: 146.6 kB / 0.5028 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.5965, allocations: 88.7 kB / 0.5029 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.5965, allocations: 4 kB / 0.5029 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5965, allocations: 38.56 kB / 0.503 GB, free: 10.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.5965, allocations: 0 / 0.503 GB, free: 10.91 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.006041/0.6026, allocations: 1.737 MB / 0.5047 GB, free: 9.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.6026, allocations: 59.41 kB / 0.5047 GB, free: 8.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.6032, allocations: 485.6 kB / 0.5052 GB, free: 8.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.6032, allocations: 29.7 kB / 0.5052 GB, free: 8.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.6035, allocations: 326.2 kB / 0.5055 GB, free: 8.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.6035, allocations: 86.84 kB / 0.5056 GB, free: 8.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.6037, allocations: 126.1 kB / 0.5057 GB, free: 7.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6038, allocations: 346.8 kB / 0.5061 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.604, allocations: 141.2 kB / 0.5062 GB, free: 7.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.6044, allocations: 436.5 kB / 0.5066 GB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.6051, allocations: 0.613 MB / 0.5072 GB, free: 6.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.6052, allocations: 4 kB / 0.5072 GB, free: 6.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009691/0.6061, allocations: 0.6319 MB / 0.5078 GB, free: 5.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.6062, allocations: 15.28 kB / 0.5078 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.6062, allocations: 12.09 kB / 0.5079 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.6064, allocations: 57.69 kB / 0.5079 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.6069, allocations: 143.8 kB / 0.508 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.6086, allocations: 1.939 MB / 0.5099 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.6091, allocations: 24 kB / 0.51 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.6091, allocations: 39.98 kB / 0.51 GB, free: 3.035 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.0003058/0.6094, allocations: 213.5 kB / 0.5102 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6095, allocations: 55.47 kB / 0.5103 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005559/0.6101, allocations: 291.1 kB / 0.5105 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6101, allocations: 4 kB / 0.5105 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6101, allocations: 0 / 0.5105 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000617/0.6108, allocations: 0.5317 MB / 0.5111 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.6119, allocations: 0.6981 MB / 0.5117 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.6119, allocations: 4 kB / 0.5117 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.6122, allocations: 51.91 kB / 0.5118 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.6123, allocations: 24.84 kB / 0.5118 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.6124, allocations: 11.98 kB / 0.5118 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.6134, allocations: 1.375 MB / 0.5132 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6134, allocations: 3.938 kB / 0.5132 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.614, allocations: 435.5 kB / 0.5136 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.6141, allocations: 108.7 kB / 0.5137 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.6142, allocations: 19.86 kB / 0.5137 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.6145, allocations: 12 kB / 0.5137 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.6146, allocations: 19.97 kB / 0.5137 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.6146, allocations: 15.92 kB / 0.5138 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.615, allocations: 323.1 kB / 0.5141 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.615, allocations: 8.062 kB / 0.5141 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009617/0.616, allocations: 211.9 kB / 0.5143 GB, free: 14.29 MB / 430.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.001484/0.6175, allocations: 467.5 kB / 0.5147 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.6183, allocations: 472 kB / 0.5152 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6183, allocations: 0 / 0.5152 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.6186, allocations: 219.8 kB / 0.5154 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6198, allocations: 213.1 kB / 0.5156 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.6215, allocations: 1.015 MB / 0.5166 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.622, allocations: 0.8234 MB / 0.5174 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005287/0.6225, allocations: 141.7 kB / 0.5175 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6227, allocations: 39.44 kB / 0.5176 GB, free: 10.86 MB / 430.1 MB Notification: Performance of SimCode: time 2.574e-06/0.6227, allocations: 0 / 0.5176 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Templates: time 0.02254/0.6452, allocations: 11.85 MB / 0.5291 GB, free: 14.99 MB / 446.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