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.001008/0.001008, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001028/0.001028, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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 0.8967/0.8967, allocations: 177.2 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.137/0.137, allocations: 32.8 MB / 295.4 MB, free: 15.35 MB / 282.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.596e-05, allocations: 2.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3594/0.3594, allocations: 146.3 MB / 0.5113 GB, free: 14.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.3638, allocations: 3.035 MB / 0.5143 GB, free: 13.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.3644, allocations: 28.5 kB / 0.5143 GB, free: 13.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006069/0.365, allocations: 238.7 kB / 0.5146 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.368, allocations: 1.551 MB / 0.5161 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.3699, allocations: 0.9688 MB / 0.517 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.3724, allocations: 2.341 MB / 0.5193 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009756/0.3733, allocations: 0.6396 MB / 0.5199 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.3779, allocations: 2.98 MB / 0.5228 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.3791, allocations: 0.812 MB / 0.5236 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.3793, allocations: 99.09 kB / 0.5237 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.3807, allocations: 0.6889 MB / 0.5244 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.3813, allocations: 0.7326 MB / 0.5251 GB, free: 13.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005939/0.3818, allocations: 0.5649 MB / 0.5257 GB, free: 13.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.384, allocations: 1.865 MB / 0.5275 GB, free: 12.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.384, allocations: 0 / 0.5275 GB, free: 12.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.384, allocations: 0 / 0.5275 GB, free: 12.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.384, allocations: 0 / 0.5275 GB, free: 12.97 MB / 410.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.002312/0.3863, allocations: 1.731 MB / 0.5292 GB, free: 12.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3864, allocations: 15.3 kB / 0.5292 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.3874, allocations: 439.1 kB / 0.5296 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.3882, allocations: 0.653 MB / 0.5302 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.3883, allocations: 188.7 kB / 0.5304 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.3884, allocations: 118.5 kB / 0.5305 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.3897, allocations: 1.705 MB / 0.5322 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.3897, allocations: 10.67 kB / 0.5322 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.3898, allocations: 47.81 kB / 0.5323 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.411e-05/0.3899, allocations: 90.52 kB / 0.5323 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.3905, allocations: 474.9 kB / 0.5328 GB, free: 9.824 MB / 410.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.004193/0.3947, allocations: 4.47 MB / 0.5372 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.3951, allocations: 356.3 kB / 0.5375 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3952, allocations: 147.8 kB / 0.5376 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.223e-05/0.3953, allocations: 38.28 kB / 0.5377 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3954, allocations: 49.7 kB / 0.5377 GB, free: 6.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/0.3954, allocations: 0 / 0.5377 GB, free: 6.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004665/0.4, allocations: 2.227 MB / 0.5399 GB, free: 5.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.4001, allocations: 115.8 kB / 0.54 GB, free: 5.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.4004, allocations: 0.6344 MB / 0.5406 GB, free: 4.824 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.4005, allocations: 43.61 kB / 0.5407 GB, free: 4.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.4007, allocations: 0.6192 MB / 0.5413 GB, free: 4.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4008, allocations: 284.7 kB / 0.5416 GB, free: 4.023 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.401, allocations: 228 kB / 0.5418 GB, free: 3.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.4011, allocations: 0.5752 MB / 0.5423 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.4013, allocations: 161.5 kB / 0.5425 GB, free: 3.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.4016, allocations: 0.6385 MB / 0.5431 GB, free: 2.727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.4022, allocations: 0.8115 MB / 0.5439 GB, free: 2.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4022, allocations: 3 kB / 0.5439 GB, free: 2.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001051/0.4033, allocations: 0.9689 MB / 0.5449 GB, free: 1.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4033, allocations: 8.438 kB / 0.5449 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4033, allocations: 8.281 kB / 0.5449 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.4054, allocations: 1.025 MB / 0.5459 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.4057, allocations: 146.4 kB / 0.546 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.4067, allocations: 1.317 MB / 0.5473 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.4073, allocations: 37.97 kB / 0.5473 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.4073, allocations: 58.41 kB / 0.5474 GB, free: 332 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003591/0.4077, allocations: 227.4 kB / 0.5476 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4078, allocations: 106.6 kB / 0.5477 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.4089, allocations: 0.8224 MB / 0.5485 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4089, allocations: 12.53 kB / 0.5485 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4089, allocations: 0 / 0.5485 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4089, allocations: 3.984 kB / 0.5485 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.4107, allocations: 1.447 MB / 0.5499 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4107, allocations: 2 kB / 0.5499 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.4116, allocations: 295.8 kB / 0.5502 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.4117, allocations: 39.09 kB / 0.5503 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.4118, allocations: 36.12 kB / 0.5503 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.4134, allocations: 3.548 MB / 0.5538 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4134, allocations: 3.062 kB / 0.5538 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4145, allocations: 0.9637 MB / 0.5547 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.4148, allocations: 179.1 kB / 0.5549 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.4149, allocations: 28.27 kB / 0.5549 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.4153, allocations: 43.11 kB / 0.5549 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4154, allocations: 62.78 kB / 0.555 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.4155, allocations: 55.67 kB / 0.5551 GB, free: 10.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.4158, allocations: 389.8 kB / 0.5554 GB, free: 10.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4158, allocations: 0 / 0.5554 GB, free: 10.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001167/0.4169, allocations: 451.4 kB / 0.5559 GB, free: 10.12 MB / 426.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.0009011/0.4178, allocations: 0.5166 MB / 0.5564 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.4189, allocations: 0.6836 MB / 0.557 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.4189, allocations: 4.922 kB / 0.557 GB, free: 9.641 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007918/0.4197, allocations: 0.5286 MB / 0.5575 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.421, allocations: 494.7 kB / 0.558 GB, free: 8.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.4244, allocations: 2.284 MB / 0.5602 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.4246, allocations: 285.2 kB / 0.5605 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000716/0.4253, allocations: 259 kB / 0.5608 GB, free: 5.957 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.4264, allocations: 0.6069 MB / 0.5614 GB, free: 5.348 MB / 426.7 MB Notification: Performance of SimCode: time 2.144e-06/0.4264, allocations: 4 kB / 0.5614 GB, free: 5.344 MB / 426.7 MB Notification: Performance of Templates: time 0.03348/0.4599, allocations: 32.14 MB / 0.5927 GB, free: 5.605 MB / 458.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.813630714081228]