Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001414/0.001414, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001215/0.001215, allocations: 170.4 kB / 24.82 MB, free: 9.324 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3149/0.3149, allocations: 32.8 MB / 294.6 MB, free: 1.23 MB / 266.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.74e-05, allocations: 6.25 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3805/0.3805, allocations: 146.4 MB / 0.5107 GB, free: 19.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.3852, allocations: 3.025 MB / 0.5136 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.3859, allocations: 28.12 kB / 0.5137 GB, free: 17.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.3866, allocations: 239.8 kB / 0.5139 GB, free: 17.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.3899, allocations: 1.535 MB / 0.5154 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3918, allocations: 0.9489 MB / 0.5163 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.3941, allocations: 2.222 MB / 0.5185 GB, free: 14.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008167/0.395, allocations: 0.5219 MB / 0.519 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004303/0.3993, allocations: 2.918 MB / 0.5218 GB, free: 13.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.4009, allocations: 0.6867 MB / 0.5225 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.4012, allocations: 74.97 kB / 0.5226 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.4028, allocations: 0.6618 MB / 0.5232 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.4031, allocations: 486 kB / 0.5237 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006042/0.4037, allocations: 414.2 kB / 0.5241 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.4061, allocations: 1.46 MB / 0.5255 GB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4061, allocations: 2.219 kB / 0.5255 GB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4061, allocations: 0 / 0.5255 GB, free: 12.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.899e-05/0.4061, allocations: 0 / 0.5255 GB, free: 12.15 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002573/0.4087, allocations: 1.462 MB / 0.5269 GB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4087, allocations: 19.56 kB / 0.527 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4097, allocations: 384.1 kB / 0.5273 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.4105, allocations: 0.552 MB / 0.5279 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4106, allocations: 170.5 kB / 0.528 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4107, allocations: 72.22 kB / 0.5281 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4118, allocations: 1.483 MB / 0.5295 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.4118, allocations: 3.953 kB / 0.5295 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.4119, allocations: 38.83 kB / 0.5296 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.054e-05/0.4119, allocations: 87.41 kB / 0.5297 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.4125, allocations: 333.2 kB / 0.53 GB, free: 9.164 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.003561/0.416, allocations: 4.179 MB / 0.5341 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.4163, allocations: 163.7 kB / 0.5342 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.4163, allocations: 61.78 kB / 0.5343 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.4164, allocations: 26.81 kB / 0.5343 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4164, allocations: 45.02 kB / 0.5344 GB, free: 5.738 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/0.4164, allocations: 0 / 0.5344 GB, free: 5.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003185/0.4196, allocations: 1.187 MB / 0.5355 GB, free: 5.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4196, allocations: 137.6 kB / 0.5356 GB, free: 4.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006072/0.4203, allocations: 0.8134 MB / 0.5364 GB, free: 4.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.4203, allocations: 32.33 kB / 0.5365 GB, free: 4.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.4206, allocations: 0.6619 MB / 0.5371 GB, free: 3.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.4206, allocations: 143 kB / 0.5373 GB, free: 3.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4208, allocations: 244 kB / 0.5375 GB, free: 3.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.421, allocations: 0.5854 MB / 0.5381 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4211, allocations: 92.8 kB / 0.5381 GB, free: 3.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.4215, allocations: 1.058 MB / 0.5392 GB, free: 1.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.4223, allocations: 1.153 MB / 0.5403 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4223, allocations: 5.719 kB / 0.5403 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001017/0.4233, allocations: 0.8896 MB / 0.5412 GB, free: 156 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4233, allocations: 14 kB / 0.5412 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.4234, allocations: 22.34 kB / 0.5412 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.424, allocations: 244.9 kB / 0.5414 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.4243, allocations: 209 kB / 0.5416 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007276/0.425, allocations: 0.9823 MB / 0.5426 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.4255, allocations: 43.61 kB / 0.5426 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.4256, allocations: 63 kB / 0.5427 GB, free: 15.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (115): * Single equations (assignments): 114 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.4258, allocations: 235.8 kB / 0.5429 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4259, allocations: 96.95 kB / 0.543 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.4265, allocations: 374.4 kB / 0.5434 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4265, allocations: 2.312 kB / 0.5434 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4265, allocations: 2.938 kB / 0.5434 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4265, allocations: 0 / 0.5434 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009818/0.4275, allocations: 0.7466 MB / 0.5441 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4275, allocations: 3.938 kB / 0.5441 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.4279, allocations: 153.1 kB / 0.5443 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.962e-05/0.428, allocations: 19.73 kB / 0.5443 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.428, allocations: 15.16 kB / 0.5443 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.43, allocations: 3.51 MB / 0.5477 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.43, allocations: 2.656 kB / 0.5477 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.4306, allocations: 0.4966 MB / 0.5482 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.4307, allocations: 98.78 kB / 0.5483 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.4308, allocations: 10.97 kB / 0.5483 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.431, allocations: 14.88 kB / 0.5483 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.431, allocations: 24.7 kB / 0.5484 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.431, allocations: 19.23 kB / 0.5484 GB, free: 10.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000323/0.4314, allocations: 430.7 kB / 0.5488 GB, free: 9.828 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4314, allocations: 0 / 0.5488 GB, free: 9.828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001051/0.4324, allocations: 356.1 kB / 0.5491 GB, free: 9.773 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.0009012/0.4333, allocations: 497 kB / 0.5496 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.434, allocations: 480.3 kB / 0.5501 GB, free: 9.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.434, allocations: 0 / 0.5501 GB, free: 9.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.4345, allocations: 337.4 kB / 0.5504 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/0.4354, allocations: 347 kB / 0.5507 GB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.4375, allocations: 1.349 MB / 0.552 GB, free: 7.188 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.4376, allocations: 211.2 kB / 0.5522 GB, free: 6.961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005003/0.4381, allocations: 227 kB / 0.5524 GB, free: 6.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/0.4387, allocations: 433.8 kB / 0.5529 GB, free: 6.309 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4387, allocations: 0 / 0.5529 GB, free: 6.309 MB / 426.7 MB Notification: Performance of Templates: time 0.02963/0.4684, allocations: 20.28 MB / 0.5727 GB, free: 2.328 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.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.308756593149155]