Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00234/0.00234, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002744/0.002744, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3936/0.3936, allocations: 34.26 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.022e-05, allocations: 4.562 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3939/0.3939, allocations: 173.7 MB / 0.538 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009914/0.4038, allocations: 6.642 MB / 0.5445 GB, free: 11.08 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.4045, allocations: 27.31 kB / 0.5445 GB, free: 11.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.4057, allocations: 413 kB / 0.5449 GB, free: 10.85 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.4104, allocations: 1.844 MB / 0.5467 GB, free: 9.879 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.4145, allocations: 1.577 MB / 0.5483 GB, free: 8.898 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002895/0.4174, allocations: 2.261 MB / 0.5505 GB, free: 7.605 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.4186, allocations: 0.6265 MB / 0.5511 GB, free: 7.176 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.423, allocations: 2.106 MB / 0.5531 GB, free: 5.906 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003556/0.4266, allocations: 1.618 MB / 0.5547 GB, free: 4.598 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003307/0.4269, allocations: 100 kB / 0.5548 GB, free: 4.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.4299, allocations: 1.188 MB / 0.556 GB, free: 3.305 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.431, allocations: 0.7328 MB / 0.5567 GB, free: 2.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009906/0.432, allocations: 0.5732 MB / 0.5572 GB, free: 1.996 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004687/0.4367, allocations: 2.806 MB / 0.56 GB, free: 15.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4367, allocations: 0 / 0.56 GB, free: 15.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4367, allocations: 0 / 0.56 GB, free: 15.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/0.4367, allocations: 0 / 0.56 GB, free: 15.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004032/0.4407, allocations: 1.859 MB / 0.5618 GB, free: 13.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4408, allocations: 12.03 kB / 0.5618 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.4426, allocations: 458.5 kB / 0.5622 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.4443, allocations: 0.7026 MB / 0.5629 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4445, allocations: 200.8 kB / 0.5631 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.4447, allocations: 115.9 kB / 0.5632 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/0.448, allocations: 1.986 MB / 0.5652 GB, free: 9.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.448, allocations: 11.89 kB / 0.5652 GB, free: 9.492 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.4482, allocations: 47.98 kB / 0.5652 GB, free: 9.445 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.4483, allocations: 93.95 kB / 0.5653 GB, free: 9.352 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.4503, allocations: 0.8314 MB / 0.5661 GB, free: 8.52 MB / 442.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.01051/0.4608, allocations: 5.398 MB / 0.5714 GB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.4618, allocations: 463.2 kB / 0.5718 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.4623, allocations: 226.5 kB / 0.5721 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4624, allocations: 32.48 kB / 0.5721 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.4625, allocations: 49.89 kB / 0.5721 GB, free: 2.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.375e-06/0.4625, allocations: 4 kB / 0.5721 GB, free: 2.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.01063/0.4731, allocations: 2.878 MB / 0.575 GB, free: 15.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.4732, allocations: 111.5 kB / 0.5751 GB, free: 15.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4743, allocations: 0.7687 MB / 0.5758 GB, free: 14.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.4744, allocations: 49.7 kB / 0.5759 GB, free: 14.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/0.475, allocations: 0.6235 MB / 0.5765 GB, free: 13.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.4753, allocations: 301.7 kB / 0.5768 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004669/0.4758, allocations: 240.2 kB / 0.577 GB, free: 13.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005499/0.4763, allocations: 0.6094 MB / 0.5776 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.477, allocations: 273.9 kB / 0.5778 GB, free: 12.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.4781, allocations: 0.745 MB / 0.5786 GB, free: 11.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4799, allocations: 1.034 MB / 0.5796 GB, free: 10.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4799, allocations: 0 / 0.5796 GB, free: 10.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002724/0.4826, allocations: 1.235 MB / 0.5808 GB, free: 8.926 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4827, allocations: 8 kB / 0.5808 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.4827, allocations: 8 kB / 0.5808 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00494/0.4876, allocations: 1.159 MB / 0.5819 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.4883, allocations: 143.7 kB / 0.5821 GB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.4909, allocations: 1.54 MB / 0.5836 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.4919, allocations: 43.97 kB / 0.5836 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.492, allocations: 63.98 kB / 0.5837 GB, free: 5.945 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0006661/0.4927, allocations: 272.2 kB / 0.5839 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.493, allocations: 107.5 kB / 0.584 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.4959, allocations: 0.9996 MB / 0.585 GB, free: 4.555 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4959, allocations: 8 kB / 0.585 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4959, allocations: 0 / 0.585 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.496, allocations: 7.984 kB / 0.585 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.5004, allocations: 1.994 MB / 0.587 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5004, allocations: 0 / 0.587 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.5023, allocations: 319.7 kB / 0.5873 GB, free: 2.184 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.5026, allocations: 51.58 kB / 0.5873 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.5027, allocations: 35.98 kB / 0.5874 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.5063, allocations: 3.705 MB / 0.591 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5063, allocations: 0 / 0.591 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.5094, allocations: 1.259 MB / 0.5922 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/0.5102, allocations: 207.3 kB / 0.5924 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.5104, allocations: 31.92 kB / 0.5924 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/0.5113, allocations: 47.95 kB / 0.5925 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.5115, allocations: 60.55 kB / 0.5925 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.5116, allocations: 63.94 kB / 0.5926 GB, free: 12.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007183/0.5123, allocations: 483 kB / 0.5931 GB, free: 12 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5123, allocations: 0 / 0.5931 GB, free: 12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001577/0.5139, allocations: 479.4 kB / 0.5935 GB, free: 11.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001912/0.5158, allocations: 0.6911 MB / 0.5942 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00243/0.5183, allocations: 0.8825 MB / 0.5951 GB, free: 9.941 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5183, allocations: 8.719 kB / 0.5951 GB, free: 9.934 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.5199, allocations: 0.6389 MB / 0.5957 GB, free: 9.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.5223, allocations: 498.9 kB / 0.5962 GB, free: 8.801 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.5276, allocations: 2.351 MB / 0.5985 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.5283, allocations: 0.5351 MB / 0.599 GB, free: 5.852 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001124/0.5294, allocations: 362 kB / 0.5993 GB, free: 5.496 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.5298, allocations: 100.5 kB / 0.5994 GB, free: 5.398 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5298, allocations: 4 kB / 0.5994 GB, free: 5.395 MB / 474.7 MB Notification: Performance of Templates: time 0.2184/0.7483, allocations: 29.95 MB / 0.6287 GB, free: 175.7 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.344030823092908]