Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.041/1.041, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1626/0.1626, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.043e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.307/0.307, allocations: 146.3 MB / 0.514 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3108, allocations: 3.036 MB / 0.517 GB, free: 13.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.3114, allocations: 27 kB / 0.517 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.312, allocations: 240 kB / 0.5172 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.3148, allocations: 1.54 MB / 0.5187 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3164, allocations: 0.9737 MB / 0.5197 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002135/0.3186, allocations: 2.345 MB / 0.522 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009132/0.3195, allocations: 0.6324 MB / 0.5226 GB, free: 13.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.3233, allocations: 2.982 MB / 0.5255 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.3245, allocations: 0.808 MB / 0.5263 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.3248, allocations: 99.41 kB / 0.5264 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3262, allocations: 0.6887 MB / 0.5271 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.3267, allocations: 0.7308 MB / 0.5278 GB, free: 12.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.3275, allocations: 0.5682 MB / 0.5283 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.33, allocations: 1.87 MB / 0.5302 GB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.33, allocations: 4 kB / 0.5302 GB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.33, allocations: 0 / 0.5302 GB, free: 12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.21e-05/0.33, allocations: 0 / 0.5302 GB, free: 12 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.002376/0.3324, allocations: 1.724 MB / 0.5318 GB, free: 11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3324, allocations: 10.59 kB / 0.5319 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009519/0.3334, allocations: 443.8 kB / 0.5323 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.3342, allocations: 0.6472 MB / 0.5329 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/0.3343, allocations: 196.2 kB / 0.5331 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3344, allocations: 116 kB / 0.5332 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3355, allocations: 1.704 MB / 0.5349 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.3355, allocations: 13.67 kB / 0.5349 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.3356, allocations: 49.33 kB / 0.5349 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/0.3356, allocations: 98.42 kB / 0.535 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.3362, allocations: 469.6 kB / 0.5355 GB, free: 8.539 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.003747/0.34, allocations: 4.455 MB / 0.5398 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.3404, allocations: 362.7 kB / 0.5402 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3405, allocations: 154.7 kB / 0.5403 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.3406, allocations: 37.42 kB / 0.5404 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3406, allocations: 47.33 kB / 0.5404 GB, free: 4.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.974e-06/0.3406, allocations: 0 / 0.5404 GB, free: 4.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004407/0.345, allocations: 2.226 MB / 0.5426 GB, free: 3.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3451, allocations: 112.4 kB / 0.5427 GB, free: 3.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.3454, allocations: 0.6334 MB / 0.5433 GB, free: 3.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.3455, allocations: 42.73 kB / 0.5433 GB, free: 3.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3457, allocations: 0.6172 MB / 0.5439 GB, free: 2.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3458, allocations: 282.5 kB / 0.5442 GB, free: 2.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.346, allocations: 228.8 kB / 0.5444 GB, free: 2.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.3461, allocations: 0.5758 MB / 0.545 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3463, allocations: 160.8 kB / 0.5451 GB, free: 1.805 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.3466, allocations: 0.6466 MB / 0.5458 GB, free: 1.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.3472, allocations: 0.7994 MB / 0.5466 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.3472, allocations: 3.188 kB / 0.5466 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001072/0.3483, allocations: 0.9776 MB / 0.5475 GB, free: 152 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3483, allocations: 8.312 kB / 0.5475 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3483, allocations: 8.219 kB / 0.5475 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.3505, allocations: 1.031 MB / 0.5485 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3508, allocations: 148.6 kB / 0.5487 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.352, allocations: 1.318 MB / 0.55 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.3524, allocations: 29.81 kB / 0.55 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.3525, allocations: 62.52 kB / 0.5501 GB, free: 14.77 MB / 426.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.0003244/0.3528, allocations: 229.8 kB / 0.5503 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.353, allocations: 107.3 kB / 0.5504 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.354, allocations: 0.8247 MB / 0.5512 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.354, allocations: 11.97 kB / 0.5512 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.354, allocations: 7.938 kB / 0.5512 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.354, allocations: 3.984 kB / 0.5512 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3559, allocations: 1.446 MB / 0.5526 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3559, allocations: 0 / 0.5526 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.3568, allocations: 286.2 kB / 0.5529 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.3569, allocations: 42.09 kB / 0.5529 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.357, allocations: 38.34 kB / 0.553 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.3588, allocations: 3.551 MB / 0.5564 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3588, allocations: 0 / 0.5564 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.36, allocations: 0.9578 MB / 0.5574 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3603, allocations: 179.4 kB / 0.5575 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.3604, allocations: 28.8 kB / 0.5576 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3608, allocations: 40.11 kB / 0.5576 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3609, allocations: 61.64 kB / 0.5577 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.361, allocations: 59.41 kB / 0.5577 GB, free: 8.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.3612, allocations: 390 kB / 0.5581 GB, free: 8.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 0.5581 GB, free: 8.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001117/0.3623, allocations: 455.4 kB / 0.5585 GB, free: 8.555 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.001023/0.3634, allocations: 0.5239 MB / 0.559 GB, free: 8.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3645, allocations: 0.6883 MB / 0.5597 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3645, allocations: 4.828 kB / 0.5597 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.3651, allocations: 0.529 MB / 0.5602 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.3663, allocations: 492.5 kB / 0.5607 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.3696, allocations: 2.271 MB / 0.5629 GB, free: 4.172 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3698, allocations: 285.2 kB / 0.5632 GB, free: 3.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006619/0.3705, allocations: 259 kB / 0.5634 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.3716, allocations: 0.6108 MB / 0.564 GB, free: 3 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3716, allocations: 0 / 0.564 GB, free: 3 MB / 426.7 MB Notification: Performance of Templates: time 0.03565/0.4072, allocations: 32.14 MB / 0.5954 GB, free: 3.215 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.85994823416695]