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.001139/0.001139, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001067/0.001067, allocations: 190 kB / 18.07 MB, free: 5.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.486/1.486, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001207/0.001207, allocations: 43.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1199, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4459/0.5658, allocations: 173.6 MB / 0.4885 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.5704, allocations: 3.872 MB / 0.4923 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.5707, allocations: 4 kB / 0.4923 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.5715, allocations: 207 kB / 0.4925 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.5722, allocations: 354.3 kB / 0.4928 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.5736, allocations: 499.5 kB / 0.4933 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.5751, allocations: 1.606 MB / 0.4948 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.5753, allocations: 74.81 kB / 0.4949 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.5785, allocations: 1.197 MB / 0.4961 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.579, allocations: 358.8 kB / 0.4964 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.506e-05/0.5791, allocations: 24 kB / 0.4965 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.5805, allocations: 0.7485 MB / 0.4972 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.5808, allocations: 207.4 kB / 0.4974 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.5812, allocations: 294.8 kB / 0.4977 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.5826, allocations: 1.145 MB / 0.4988 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.5826, allocations: 4 kB / 0.4988 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5826, allocations: 0 / 0.4988 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.5826, allocations: 0 / 0.4988 GB, free: 15.45 MB / 414.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.001314/0.5839, allocations: 0.7997 MB / 0.4996 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.584, allocations: 12.03 kB / 0.4996 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000629/0.5846, allocations: 123.3 kB / 0.4997 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.5852, allocations: 373.2 kB / 0.5 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.5852, allocations: 34.55 kB / 0.5001 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.5853, allocations: 40 kB / 0.5001 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/0.5862, allocations: 0.5769 MB / 0.5007 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5862, allocations: 0 / 0.5007 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.5863, allocations: 20 kB / 0.5007 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5863, allocations: 8 kB / 0.5007 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.5869, allocations: 446.4 kB / 0.5011 GB, free: 12.93 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.003432/0.5904, allocations: 2.121 MB / 0.5032 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.5907, allocations: 146.6 kB / 0.5033 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.5908, allocations: 84.83 kB / 0.5034 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.5908, allocations: 0 / 0.5034 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5909, allocations: 38.56 kB / 0.5035 GB, free: 10.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.5909, allocations: 4 kB / 0.5035 GB, free: 10.34 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.006152/0.597, allocations: 1.735 MB / 0.5052 GB, free: 8.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5971, allocations: 63.33 kB / 0.5052 GB, free: 8.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.5977, allocations: 481.6 kB / 0.5057 GB, free: 7.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.5977, allocations: 29.7 kB / 0.5057 GB, free: 7.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.598, allocations: 318.3 kB / 0.506 GB, free: 7.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.5981, allocations: 94.77 kB / 0.5061 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.5982, allocations: 118.2 kB / 0.5062 GB, free: 7.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5984, allocations: 350.8 kB / 0.5066 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.5986, allocations: 145.2 kB / 0.5067 GB, free: 6.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.599, allocations: 436.5 kB / 0.5071 GB, free: 6.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/0.5997, allocations: 0.6057 MB / 0.5077 GB, free: 5.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5997, allocations: 4 kB / 0.5077 GB, free: 5.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000999/0.6007, allocations: 0.6354 MB / 0.5083 GB, free: 4.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.6008, allocations: 11.28 kB / 0.5083 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.6008, allocations: 15.98 kB / 0.5083 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.601, allocations: 53.7 kB / 0.5084 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.6015, allocations: 140.2 kB / 0.5085 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.6031, allocations: 1.848 MB / 0.5103 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.6036, allocations: 32 kB / 0.5104 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.6037, allocations: 39.98 kB / 0.5104 GB, free: 2.574 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.0002924/0.604, allocations: 209.5 kB / 0.5106 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.6041, allocations: 51.53 kB / 0.5107 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.6046, allocations: 298.8 kB / 0.5109 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6047, allocations: 4 kB / 0.5109 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6047, allocations: 0 / 0.5109 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005377/0.6052, allocations: 0.5204 MB / 0.5115 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.6062, allocations: 0.7059 MB / 0.5121 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6062, allocations: 0 / 0.5121 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.6065, allocations: 55.91 kB / 0.5122 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-05/0.6066, allocations: 20.84 kB / 0.5122 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6066, allocations: 15.92 kB / 0.5122 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008979/0.6075, allocations: 1.28 MB / 0.5135 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6075, allocations: 0 / 0.5135 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.6081, allocations: 431.5 kB / 0.5139 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.6082, allocations: 120.5 kB / 0.514 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.6083, allocations: 11.94 kB / 0.514 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.6086, allocations: 20.14 kB / 0.514 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.6086, allocations: 11.98 kB / 0.514 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.6087, allocations: 15.98 kB / 0.5141 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.6091, allocations: 323.1 kB / 0.5144 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6091, allocations: 4 kB / 0.5144 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009748/0.6101, allocations: 215.9 kB / 0.5146 GB, free: 13.95 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.001485/0.6115, allocations: 467.5 kB / 0.515 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.6124, allocations: 464.5 kB / 0.5155 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6124, allocations: 0 / 0.5155 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.6126, allocations: 210.5 kB / 0.5157 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6138, allocations: 198.5 kB / 0.5159 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.6153, allocations: 1.024 MB / 0.5169 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.6157, allocations: 0.8233 MB / 0.5177 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004958/0.6162, allocations: 140.6 kB / 0.5178 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.6163, allocations: 43.44 kB / 0.5178 GB, free: 10.53 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6163, allocations: 0 / 0.5178 GB, free: 10.53 MB / 430.1 MB Notification: Performance of Templates: time 0.01978/0.6361, allocations: 11.55 MB / 0.5291 GB, free: 14.96 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