Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009713/0.0009713, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009379/0.0009379, allocations: 165 kB / 24.56 MB, free: 4 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 0.9533/0.9533, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2346/0.2346, allocations: 34.27 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.159e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2819/0.2819, allocations: 149.2 MB / 0.5149 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.2856, allocations: 3.051 MB / 0.5179 GB, free: 13.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.2859, allocations: 27.47 kB / 0.5179 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.2865, allocations: 240.5 kB / 0.5181 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.292, allocations: 1.542 MB / 0.5196 GB, free: 12.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.2964, allocations: 0.9391 MB / 0.5206 GB, free: 12.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.298, allocations: 2.226 MB / 0.5227 GB, free: 11.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.2985, allocations: 0.5139 MB / 0.5232 GB, free: 11.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006132/0.3046, allocations: 2.931 MB / 0.5261 GB, free: 10.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/0.3084, allocations: 0.6853 MB / 0.5268 GB, free: 9.855 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3085, allocations: 74.62 kB / 0.5268 GB, free: 9.855 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009111/0.3094, allocations: 0.6642 MB / 0.5275 GB, free: 9.652 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.3098, allocations: 480.6 kB / 0.5279 GB, free: 9.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.3101, allocations: 409.1 kB / 0.5283 GB, free: 9.297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.3144, allocations: 1.47 MB / 0.5298 GB, free: 8.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3144, allocations: 0 / 0.5298 GB, free: 8.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3144, allocations: 0 / 0.5298 GB, free: 8.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3144, allocations: 2.812 kB / 0.5298 GB, free: 8.742 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.001868/0.3163, allocations: 1.462 MB / 0.5312 GB, free: 7.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3163, allocations: 12.84 kB / 0.5312 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/0.3204, allocations: 409.8 kB / 0.5316 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.3211, allocations: 0.5776 MB / 0.5322 GB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.3212, allocations: 165.6 kB / 0.5323 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.3213, allocations: 78.75 kB / 0.5324 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3225, allocations: 1.545 MB / 0.5339 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.3225, allocations: 7.891 kB / 0.5339 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/0.3226, allocations: 31.03 kB / 0.5339 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-05/0.3227, allocations: 82.78 kB / 0.534 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.3264, allocations: 427.4 kB / 0.5344 GB, free: 5.723 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.006689/0.3331, allocations: 4.327 MB / 0.5387 GB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.3334, allocations: 177.7 kB / 0.5388 GB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3335, allocations: 77.16 kB / 0.5389 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.3336, allocations: 25.33 kB / 0.5389 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3336, allocations: 43.83 kB / 0.539 GB, free: 2.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.3336, allocations: 2.719 kB / 0.539 GB, free: 2.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.006944/0.3405, allocations: 1.391 MB / 0.5403 GB, free: 1.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3406, allocations: 137.8 kB / 0.5405 GB, free: 1.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.3421, allocations: 0.8197 MB / 0.5413 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.3421, allocations: 32.27 kB / 0.5413 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3423, allocations: 0.6599 MB / 0.5419 GB, free: 140 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.3424, allocations: 143.2 kB / 0.5421 GB, free: 16 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.3426, allocations: 237.1 kB / 0.5423 GB, free: 15.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3427, allocations: 0.5787 MB / 0.5429 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.3429, allocations: 109.4 kB / 0.543 GB, free: 15.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.3435, allocations: 1.079 MB / 0.544 GB, free: 13.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008568/0.3444, allocations: 1.178 MB / 0.5452 GB, free: 12.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3444, allocations: 12.56 kB / 0.5452 GB, free: 12.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001017/0.3454, allocations: 0.9429 MB / 0.5461 GB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3454, allocations: 13.88 kB / 0.5461 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3454, allocations: 20.28 kB / 0.5461 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007767/0.3462, allocations: 258 kB / 0.5464 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.3467, allocations: 209.5 kB / 0.5466 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007744/0.3475, allocations: 0.9996 MB / 0.5476 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.3481, allocations: 45.94 kB / 0.5476 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/0.3481, allocations: 72.64 kB / 0.5477 GB, free: 11.07 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.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 (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.0002569/0.3484, allocations: 245.6 kB / 0.5479 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3485, allocations: 93.48 kB / 0.548 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006859/0.3492, allocations: 401.2 kB / 0.5484 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.3492, allocations: 4 kB / 0.5484 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3492, allocations: 0 / 0.5484 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3492, allocations: 3.984 kB / 0.5484 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.3502, allocations: 0.8835 MB / 0.5492 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3502, allocations: 4 kB / 0.5492 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.3507, allocations: 179.8 kB / 0.5494 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.67e-05/0.3508, allocations: 23.67 kB / 0.5494 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.3508, allocations: 8 kB / 0.5495 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.3523, allocations: 3.555 MB / 0.5529 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3523, allocations: 0 / 0.5529 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.3528, allocations: 0.5212 MB / 0.5534 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.353, allocations: 115.6 kB / 0.5535 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.353, allocations: 8 kB / 0.5535 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3532, allocations: 8 kB / 0.5536 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.3533, allocations: 27.95 kB / 0.5536 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.3533, allocations: 19.98 kB / 0.5536 GB, free: 4.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003504/0.3536, allocations: 458.9 kB / 0.554 GB, free: 4.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3536, allocations: 0 / 0.554 GB, free: 4.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007773/0.3544, allocations: 355.6 kB / 0.5544 GB, free: 3.973 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.000826/0.3552, allocations: 498.1 kB / 0.5549 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006568/0.3559, allocations: 0.5058 MB / 0.5553 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3559, allocations: 384 / 0.5553 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.3564, allocations: 369.3 kB / 0.5557 GB, free: 2.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.3572, allocations: 348.6 kB / 0.556 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3589, allocations: 1.353 MB / 0.5574 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.3591, allocations: 211.2 kB / 0.5576 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008374/0.3599, allocations: 342.9 kB / 0.5579 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.36, allocations: 76.48 kB / 0.558 GB, free: 244 kB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.36, allocations: 0 / 0.558 GB, free: 244 kB / 426.7 MB Notification: Performance of Templates: time 0.02189/0.3819, allocations: 20.12 MB / 0.5776 GB, free: 12.43 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.9534073444083333]