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.001153/0.001153, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001931/0.003084, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001178/0.001178, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.002879, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9996/0.9996, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08759/1.087, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2729/0.2729, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03536/0.3083, allocations: 13.24 MB / 292.8 MB, free: 6.383 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 3.176e-06/3.176e-06, allocations: 3.984 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/2.062e-05, allocations: 2.859 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.346/0.346, allocations: 148.9 MB / 443 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004705/0.3508, allocations: 3.104 MB / 446.1 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.3513, allocations: 27.53 kB / 446.2 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.3519, allocations: 246.7 kB / 446.4 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.3549, allocations: 1.5 MB / 447.9 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.3566, allocations: 0.9522 MB / 448.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.359, allocations: 2.391 MB / 451.2 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000924/0.3599, allocations: 0.619 MB / 451.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.3637, allocations: 2.895 MB / 454.8 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.3649, allocations: 0.7677 MB / 455.5 MB, free: 3.426 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.3652, allocations: 98.97 kB / 455.6 MB, free: 3.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.3665, allocations: 0.7209 MB / 456.3 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.3669, allocations: 0.6436 MB / 457 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.3675, allocations: 461.5 kB / 457.4 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.3692, allocations: 1.643 MB / 459.1 MB, free: 3.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.3692, allocations: 3.625 kB / 459.1 MB, free: 3.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3692, allocations: 0 / 459.1 MB, free: 3.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.469e-05/0.3693, allocations: 0.8125 kB / 459.1 MB, free: 3.09 MB / 426.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.002535/0.3718, allocations: 1.968 MB / 461 MB, free: 18.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.3718, allocations: 8.516 kB / 461.1 MB, free: 18.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.3728, allocations: 416.2 kB / 461.5 MB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/0.3735, allocations: 0.5867 MB / 462 MB, free: 18.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3736, allocations: 193.9 kB / 462.2 MB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.3737, allocations: 116.3 kB / 462.4 MB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.3749, allocations: 1.684 MB / 464 MB, free: 16.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.3749, allocations: 7.531 kB / 464 MB, free: 16.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.375, allocations: 43.14 kB / 464.1 MB, free: 16.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.3751, allocations: 89.41 kB / 464.2 MB, free: 16.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/0.3757, allocations: 458 kB / 464.6 MB, free: 16.8 MB / 442.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.003781/0.3795, allocations: 3.548 MB / 468.2 MB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.3798, allocations: 384.6 kB / 468.5 MB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.38, allocations: 129.7 kB / 468.7 MB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.3801, allocations: 62.88 kB / 468.7 MB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3801, allocations: 44.25 kB / 468.8 MB, free: 15.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.425e-06/0.3801, allocations: 0.8438 kB / 468.8 MB, free: 15.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.004192/0.3843, allocations: 2.157 MB / 470.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3843, allocations: 63.52 kB / 471 MB, free: 14.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.3846, allocations: 0.5486 MB / 471.5 MB, free: 14.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.3847, allocations: 42.42 kB / 471.6 MB, free: 14.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3849, allocations: 0.5003 MB / 472.1 MB, free: 14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.385, allocations: 273.3 kB / 472.3 MB, free: 13.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.3852, allocations: 193.7 kB / 472.5 MB, free: 13.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3853, allocations: 397.9 kB / 472.9 MB, free: 13.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3855, allocations: 149.4 kB / 473.1 MB, free: 13.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.3857, allocations: 496.9 kB / 473.6 MB, free: 13.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.3863, allocations: 0.7182 MB / 474.3 MB, free: 12.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3863, allocations: 2.625 kB / 474.3 MB, free: 12.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0008256/0.3871, allocations: 0.7677 MB / 475 MB, free: 12.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3871, allocations: 9.75 kB / 475.1 MB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3872, allocations: 8.969 kB / 475.1 MB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.3889, allocations: 0.9003 MB / 476 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.3892, allocations: 167.4 kB / 476.1 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008842/0.3901, allocations: 0.9777 MB / 477.1 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.3905, allocations: 35.53 kB / 477.1 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.3905, allocations: 60.16 kB / 477.2 MB, free: 12.07 MB / 442.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.0002814/0.3908, allocations: 179.8 kB / 477.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3909, allocations: 86.31 kB / 477.5 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/0.3917, allocations: 0.6946 MB / 478.2 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3917, allocations: 6.562 kB / 478.2 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3917, allocations: 2.906 kB / 478.2 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3917, allocations: 6.828 kB / 478.2 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.3931, allocations: 1.272 MB / 479.4 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3932, allocations: 3.469 kB / 479.4 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008844/0.394, allocations: 334.2 kB / 479.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.3942, allocations: 147.4 kB / 479.9 MB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.3943, allocations: 42.3 kB / 480 MB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.3944, allocations: 35.77 kB / 480 MB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3955, allocations: 2.441 MB / 482.4 MB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3955, allocations: 0 / 482.4 MB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.3963, allocations: 0.8166 MB / 483.2 MB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/0.3964, allocations: 25.22 kB / 483.3 MB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3968, allocations: 39.16 kB / 483.3 MB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3969, allocations: 60.52 kB / 483.4 MB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.68e-05/0.3969, allocations: 55.66 kB / 483.4 MB, free: 8.863 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3971, allocations: 251.4 kB / 483.7 MB, free: 8.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3971, allocations: 0 / 483.7 MB, free: 8.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009224/0.398, allocations: 446.6 kB / 484.1 MB, free: 8.816 MB / 442.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.0008176/0.3989, allocations: 493 kB / 484.6 MB, free: 8.711 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008511/0.3997, allocations: 0.6425 MB / 485.2 MB, free: 8.648 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.45e-05/0.3997, allocations: 15.7 kB / 485.2 MB, free: 8.645 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.4003, allocations: 0.4958 MB / 485.7 MB, free: 8.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.402, allocations: 2.406 MB / 488.1 MB, free: 6.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008655/0.4107, allocations: 2.284 MB / 490.4 MB, free: 5.453 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.4109, allocations: 292.9 kB / 490.7 MB, free: 5.375 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008238/0.4117, allocations: 254.3 kB / 491 MB, free: 5.316 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.4127, allocations: 0.5015 MB / 491.5 MB, free: 5.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4127, allocations: 4 kB / 491.5 MB, free: 5.246 MB / 442.7 MB Notification: Performance of Templates: time 0.03413/0.4468, allocations: 32.86 MB / 0.512 GB, free: 13.38 MB / 474.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.222324630245566]