Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001479/0.001479, allocations: 92.22 kB / 20.21 MB, free: 4.227 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.001814/0.001814, allocations: 157.7 kB / 23.52 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2833/0.2833, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 4 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.263e-05, allocations: 2.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4056/0.4057, allocations: 158.6 MB / 0.4937 GB, free: 15.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.4164, allocations: 6.372 MB / 0.5 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008993/0.4173, allocations: 33.84 kB / 0.5 GB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.4187, allocations: 415.1 kB / 0.5004 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.4247, allocations: 2.091 MB / 0.5024 GB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.43, allocations: 1.771 MB / 0.5041 GB, free: 6.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.4339, allocations: 2.271 MB / 0.5064 GB, free: 4.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.4353, allocations: 0.6419 MB / 0.507 GB, free: 3.926 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00539/0.4406, allocations: 2.232 MB / 0.5092 GB, free: 1.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003445/0.4441, allocations: 1.586 MB / 0.5107 GB, free: 100 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.4444, allocations: 96 kB / 0.5108 GB, free: 4 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003858/0.4482, allocations: 1.399 MB / 0.5122 GB, free: 14.6 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009364/0.4492, allocations: 0.7288 MB / 0.5129 GB, free: 13.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.4502, allocations: 0.5654 MB / 0.5134 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.4556, allocations: 2.953 MB / 0.5163 GB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4556, allocations: 0 / 0.5163 GB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4556, allocations: 0 / 0.5163 GB, free: 10.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.058e-05/0.4556, allocations: 0 / 0.5163 GB, free: 10.34 MB / 394.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.004176/0.4598, allocations: 1.633 MB / 0.5179 GB, free: 8.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4599, allocations: 8.031 kB / 0.5179 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.4618, allocations: 478.1 kB / 0.5184 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.4641, allocations: 0.7466 MB / 0.5191 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.4643, allocations: 192.8 kB / 0.5193 GB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.4646, allocations: 123.9 kB / 0.5194 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/0.4689, allocations: 2.565 MB / 0.5219 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/0.4689, allocations: 7.938 kB / 0.5219 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.4691, allocations: 47.98 kB / 0.522 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.4693, allocations: 93.95 kB / 0.5221 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.4724, allocations: 1.686 MB / 0.5237 GB, free: 2.445 MB / 394.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.01059/0.483, allocations: 4.857 MB / 0.5285 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.4846, allocations: 0.8458 MB / 0.5293 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.4853, allocations: 438 kB / 0.5297 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.4855, allocations: 70.44 kB / 0.5298 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.4856, allocations: 51.05 kB / 0.5298 GB, free: 12.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/0.4856, allocations: 0 / 0.5298 GB, free: 12.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.01288/0.4985, allocations: 4.046 MB / 0.5338 GB, free: 7.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.4986, allocations: 111.4 kB / 0.5339 GB, free: 7.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4997, allocations: 0.699 MB / 0.5346 GB, free: 7.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.4999, allocations: 45.7 kB / 0.5346 GB, free: 7.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.5004, allocations: 0.5544 MB / 0.5351 GB, free: 6.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.5007, allocations: 269.7 kB / 0.5354 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.5011, allocations: 206.5 kB / 0.5356 GB, free: 6.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.5014, allocations: 386.8 kB / 0.536 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.5025, allocations: 0.5836 MB / 0.5365 GB, free: 5.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.5039, allocations: 0.9254 MB / 0.5374 GB, free: 4.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.5064, allocations: 1.447 MB / 0.5388 GB, free: 2.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5064, allocations: 0 / 0.5388 GB, free: 2.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004148/0.5105, allocations: 1.997 MB / 0.5408 GB, free: 460 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.5106, allocations: 10.5 kB / 0.5408 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5106, allocations: 8 kB / 0.5408 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005138/0.5157, allocations: 1.328 MB / 0.5421 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.5164, allocations: 143.8 kB / 0.5423 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.5198, allocations: 1.932 MB / 0.5441 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/0.5207, allocations: 47.91 kB / 0.5442 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.5209, allocations: 67.98 kB / 0.5442 GB, free: 12.9 MB / 426.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.0008437/0.5217, allocations: 394.6 kB / 0.5446 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.522, allocations: 111.5 kB / 0.5447 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.5249, allocations: 1.364 MB / 0.5461 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.5249, allocations: 11.94 kB / 0.5461 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5249, allocations: 0 / 0.5461 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5249, allocations: 7.984 kB / 0.5461 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.5299, allocations: 2.379 MB / 0.5484 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5299, allocations: 0 / 0.5484 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.5318, allocations: 323.6 kB / 0.5487 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/0.5321, allocations: 68.78 kB / 0.5488 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/0.5322, allocations: 35.97 kB / 0.5488 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/0.5352, allocations: 2.774 MB / 0.5515 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5352, allocations: 0 / 0.5515 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.5388, allocations: 1.9 MB / 0.5534 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/0.5395, allocations: 223.5 kB / 0.5536 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.5396, allocations: 31.98 kB / 0.5536 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008476/0.5405, allocations: 51.89 kB / 0.5537 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/0.5408, allocations: 60.55 kB / 0.5537 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.541, allocations: 67.94 kB / 0.5538 GB, free: 2.832 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007308/0.5417, allocations: 499 kB / 0.5543 GB, free: 2.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5417, allocations: 0 / 0.5543 GB, free: 2.352 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001896/0.5436, allocations: 0.511 MB / 0.5548 GB, free: 1.84 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.002404/0.546, allocations: 0.813 MB / 0.5556 GB, free: 1.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.5491, allocations: 1.418 MB / 0.5569 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5491, allocations: 0.6562 kB / 0.5569 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.551, allocations: 0.8428 MB / 0.5578 GB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.5533, allocations: 499.8 kB / 0.5582 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.5591, allocations: 2.682 MB / 0.5609 GB, free: 11.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/0.5599, allocations: 0.5781 MB / 0.5614 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001139/0.561, allocations: 346.7 kB / 0.5618 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.5614, allocations: 88.48 kB / 0.5618 GB, free: 10.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5614, allocations: 0 / 0.5618 GB, free: 10.52 MB / 442.7 MB Notification: Performance of Templates: time 0.05642/0.6178, allocations: 30.99 MB / 0.5921 GB, free: 11.54 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.413400229997933]