Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3525/0.3525, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.33e-06, allocations: 4 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.322e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3813/0.3814, allocations: 173.7 MB / 0.5381 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.3916, allocations: 6.641 MB / 0.5446 GB, free: 11.08 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.3926, allocations: 29.41 kB / 0.5446 GB, free: 11.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.3941, allocations: 416.2 kB / 0.545 GB, free: 10.85 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.4001, allocations: 1.829 MB / 0.5468 GB, free: 9.891 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.4045, allocations: 1.578 MB / 0.5483 GB, free: 8.941 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.4078, allocations: 2.265 MB / 0.5505 GB, free: 7.645 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.4092, allocations: 0.6301 MB / 0.5511 GB, free: 7.211 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00519/0.4144, allocations: 2.102 MB / 0.5532 GB, free: 5.945 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/0.418, allocations: 1.61 MB / 0.5548 GB, free: 4.652 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.4184, allocations: 100 kB / 0.5549 GB, free: 4.555 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.4223, allocations: 1.188 MB / 0.556 GB, free: 3.359 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.4235, allocations: 0.7367 MB / 0.5567 GB, free: 2.621 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.4249, allocations: 0.5693 MB / 0.5573 GB, free: 2.051 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005621/0.4306, allocations: 2.813 MB / 0.56 GB, free: 15.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4306, allocations: 0 / 0.56 GB, free: 15.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4306, allocations: 0 / 0.56 GB, free: 15.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.429e-05/0.4307, allocations: 0 / 0.56 GB, free: 15.23 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.005145/0.4358, allocations: 1.855 MB / 0.5619 GB, free: 13.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4358, allocations: 12.03 kB / 0.5619 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.4378, allocations: 462.5 kB / 0.5623 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.4399, allocations: 0.7026 MB / 0.563 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/0.4401, allocations: 196.8 kB / 0.5632 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.4404, allocations: 123.9 kB / 0.5633 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.4435, allocations: 1.988 MB / 0.5652 GB, free: 9.547 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.4436, allocations: 7.953 kB / 0.5653 GB, free: 9.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.4438, allocations: 47.98 kB / 0.5653 GB, free: 9.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.4439, allocations: 89.95 kB / 0.5654 GB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.4459, allocations: 0.8314 MB / 0.5662 GB, free: 8.57 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.01099/0.4569, allocations: 5.402 MB / 0.5715 GB, free: 3.059 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.458, allocations: 471.2 kB / 0.5719 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.4585, allocations: 217.7 kB / 0.5721 GB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.4586, allocations: 28.48 kB / 0.5722 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.4587, allocations: 49.89 kB / 0.5722 GB, free: 2.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/0.4587, allocations: 3.938 kB / 0.5722 GB, free: 2.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.0111/0.4698, allocations: 2.874 MB / 0.575 GB, free: 15.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.4699, allocations: 111.5 kB / 0.5751 GB, free: 15.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4709, allocations: 0.7687 MB / 0.5759 GB, free: 14.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.471, allocations: 49.7 kB / 0.5759 GB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008119/0.4718, allocations: 0.6314 MB / 0.5765 GB, free: 13.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.4722, allocations: 301.7 kB / 0.5768 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.4727, allocations: 236.2 kB / 0.577 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004288/0.4731, allocations: 0.6094 MB / 0.5776 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.4738, allocations: 277.8 kB / 0.5779 GB, free: 12.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.4749, allocations: 0.7334 MB / 0.5786 GB, free: 11.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.4768, allocations: 1.041 MB / 0.5796 GB, free: 10.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4768, allocations: 0 / 0.5796 GB, free: 10.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002825/0.4796, allocations: 1.239 MB / 0.5808 GB, free: 8.984 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4797, allocations: 8 kB / 0.5809 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.4797, allocations: 15.92 kB / 0.5809 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0051/0.4848, allocations: 1.154 MB / 0.582 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.4855, allocations: 139.8 kB / 0.5821 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.4883, allocations: 1.54 MB / 0.5836 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/0.4892, allocations: 43.97 kB / 0.5837 GB, free: 6.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.4893, allocations: 71.97 kB / 0.5837 GB, free: 5.988 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.0005325/0.4898, allocations: 260.4 kB / 0.584 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.4901, allocations: 115.4 kB / 0.5841 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.4926, allocations: 0.9953 MB / 0.5851 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4926, allocations: 8 kB / 0.5851 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4926, allocations: 0 / 0.5851 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.4926, allocations: 3.984 kB / 0.5851 GB, free: 4.594 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/0.4969, allocations: 1.994 MB / 0.587 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4969, allocations: 0 / 0.587 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.4989, allocations: 319.7 kB / 0.5873 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.4991, allocations: 51.58 kB / 0.5874 GB, free: 2.184 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.4992, allocations: 35.98 kB / 0.5874 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.5027, allocations: 3.706 MB / 0.591 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5027, allocations: 0 / 0.591 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.5054, allocations: 1.259 MB / 0.5923 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/0.5061, allocations: 211.3 kB / 0.5925 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.5063, allocations: 31.92 kB / 0.5925 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/0.5071, allocations: 47.95 kB / 0.5926 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.5073, allocations: 64.53 kB / 0.5926 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.5075, allocations: 59.95 kB / 0.5927 GB, free: 12.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007037/0.5082, allocations: 483 kB / 0.5931 GB, free: 12.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5082, allocations: 0 / 0.5931 GB, free: 12.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001535/0.5097, allocations: 471.5 kB / 0.5936 GB, free: 11.59 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.001889/0.5116, allocations: 0.6908 MB / 0.5943 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.5141, allocations: 0.8863 MB / 0.5951 GB, free: 9.992 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.5141, allocations: 8.719 kB / 0.5951 GB, free: 9.984 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.5157, allocations: 0.6389 MB / 0.5958 GB, free: 9.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.5182, allocations: 0.4959 MB / 0.5962 GB, free: 8.852 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.5237, allocations: 2.347 MB / 0.5985 GB, free: 6.477 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/0.5245, allocations: 0.539 MB / 0.5991 GB, free: 5.906 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001275/0.5257, allocations: 366.2 kB / 0.5994 GB, free: 5.547 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.5261, allocations: 92.47 kB / 0.5995 GB, free: 5.457 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5261, allocations: 0 / 0.5995 GB, free: 5.457 MB / 474.7 MB Notification: Performance of Templates: time 0.2046/0.7308, allocations: 29.96 MB / 0.6288 GB, free: 175.6 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.364924947032705]