Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002507/0.002507, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002897/0.002897, allocations: 165.3 kB / 24.27 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3736/0.3736, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.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.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.604e-05, allocations: 6.312 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3982/0.3982, allocations: 173.7 MB / 0.5361 GB, free: 1.719 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009294/0.4075, allocations: 6.646 MB / 0.5426 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.4082, allocations: 30.84 kB / 0.5426 GB, free: 13.27 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.4095, allocations: 406.8 kB / 0.543 GB, free: 13.06 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.4141, allocations: 1.837 MB / 0.5448 GB, free: 12.1 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.4183, allocations: 1.581 MB / 0.5463 GB, free: 11.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.4212, allocations: 2.267 MB / 0.5486 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.4223, allocations: 0.6235 MB / 0.5492 GB, free: 9.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.4268, allocations: 2.116 MB / 0.5512 GB, free: 8.383 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.4299, allocations: 1.613 MB / 0.5528 GB, free: 7.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.4301, allocations: 99.72 kB / 0.5529 GB, free: 7.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.4331, allocations: 1.179 MB / 0.5541 GB, free: 6.723 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008946/0.434, allocations: 0.7405 MB / 0.5548 GB, free: 5.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009749/0.435, allocations: 0.5654 MB / 0.5553 GB, free: 5.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004666/0.4396, allocations: 2.817 MB / 0.5581 GB, free: 2.586 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4396, allocations: 0 / 0.5581 GB, free: 2.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4396, allocations: 0 / 0.5581 GB, free: 2.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.947e-05/0.4397, allocations: 0 / 0.5581 GB, free: 2.586 MB / 426.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.004459/0.4441, allocations: 1.848 MB / 0.5599 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4442, allocations: 11.97 kB / 0.5599 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.446, allocations: 466.5 kB / 0.5603 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.4479, allocations: 0.7065 MB / 0.561 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.4481, allocations: 192.7 kB / 0.5612 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.4483, allocations: 115.9 kB / 0.5613 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.4516, allocations: 1.985 MB / 0.5633 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.4517, allocations: 11.89 kB / 0.5633 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.4518, allocations: 51.98 kB / 0.5633 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.4519, allocations: 89.95 kB / 0.5634 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.4539, allocations: 0.8314 MB / 0.5642 GB, free: 11.93 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.01141/0.4653, allocations: 5.405 MB / 0.5695 GB, free: 6.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4664, allocations: 471.2 kB / 0.57 GB, free: 5.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.4669, allocations: 217.7 kB / 0.5702 GB, free: 5.727 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.467, allocations: 31.48 kB / 0.5702 GB, free: 5.695 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.4671, allocations: 45.89 kB / 0.5702 GB, free: 5.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.4671, allocations: 0 / 0.5702 GB, free: 5.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.01104/0.4781, allocations: 2.867 MB / 0.573 GB, free: 2.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4782, allocations: 111.5 kB / 0.5731 GB, free: 2.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.4793, allocations: 0.7726 MB / 0.5739 GB, free: 1.805 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.4795, allocations: 41.7 kB / 0.5739 GB, free: 1.758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005977/0.48, allocations: 0.6352 MB / 0.5746 GB, free: 1.113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.4804, allocations: 293.7 kB / 0.5748 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004653/0.4809, allocations: 244.2 kB / 0.5751 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004411/0.4813, allocations: 0.6094 MB / 0.5757 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.482, allocations: 269.9 kB / 0.5759 GB, free: 15.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.4831, allocations: 0.7451 MB / 0.5767 GB, free: 14.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.485, allocations: 1.034 MB / 0.5777 GB, free: 13.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.485, allocations: 7.125 kB / 0.5777 GB, free: 13.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002785/0.4878, allocations: 1.223 MB / 0.5789 GB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.4878, allocations: 8 kB / 0.5789 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4878, allocations: 12.09 kB / 0.5789 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005279/0.4931, allocations: 1.168 MB / 0.58 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.4938, allocations: 151.7 kB / 0.5802 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.4964, allocations: 1.532 MB / 0.5817 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008563/0.4973, allocations: 43.97 kB / 0.5817 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4974, allocations: 71.98 kB / 0.5818 GB, free: 9.336 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.0006057/0.498, allocations: 256.3 kB / 0.582 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.4983, allocations: 111.5 kB / 0.5821 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.5007, allocations: 1.007 MB / 0.5831 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5007, allocations: 8 kB / 0.5831 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.5007, allocations: 0 / 0.5831 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.5007, allocations: 3.984 kB / 0.5831 GB, free: 7.941 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.505, allocations: 1.994 MB / 0.5851 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.505, allocations: 4.031 kB / 0.5851 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.5069, allocations: 315.6 kB / 0.5854 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.5071, allocations: 55.58 kB / 0.5854 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-05/0.5072, allocations: 31.98 kB / 0.5855 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.5106, allocations: 3.71 MB / 0.5891 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5106, allocations: 0 / 0.5891 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.5132, allocations: 1.255 MB / 0.5903 GB, free: 272 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/0.5139, allocations: 207.3 kB / 0.5905 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.5141, allocations: 31.92 kB / 0.5905 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/0.5149, allocations: 52.14 kB / 0.5906 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.5151, allocations: 60.48 kB / 0.5906 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.5153, allocations: 63.94 kB / 0.5907 GB, free: 15.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006995/0.5159, allocations: 483 kB / 0.5912 GB, free: 15.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.516, allocations: 0 / 0.5912 GB, free: 15.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001623/0.5176, allocations: 475.5 kB / 0.5916 GB, free: 14.93 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.001877/0.5195, allocations: 0.6863 MB / 0.5923 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.5219, allocations: 0.8854 MB / 0.5931 GB, free: 13.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.5219, allocations: 8.594 kB / 0.5932 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.5237, allocations: 0.64 MB / 0.5938 GB, free: 12.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.5265, allocations: 0.4975 MB / 0.5943 GB, free: 12.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.5317, allocations: 2.351 MB / 0.5966 GB, free: 9.816 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.5324, allocations: 0.5429 MB / 0.5971 GB, free: 9.242 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001219/0.5336, allocations: 357.5 kB / 0.5974 GB, free: 8.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.534, allocations: 96.47 kB / 0.5975 GB, free: 8.797 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/0.534, allocations: 0 / 0.5975 GB, free: 8.797 MB / 474.7 MB Notification: Performance of Templates: time 0.2181/0.7521, allocations: 29.97 MB / 0.6268 GB, free: 179.6 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.530316893011332]