Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001921/0.003069, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002564, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9756/0.9756, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1962/1.172, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.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.149/0.149, allocations: 32.79 MB / 272 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02349/0.1724, allocations: 12.55 MB / 284.5 MB, free: 9.727 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 285.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.284e-05, allocations: 2.312 kB / 285.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3203/0.3203, allocations: 146 MB / 431.8 MB, free: 6.637 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.3248, allocations: 3.119 MB / 435 MB, free: 3.535 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.3254, allocations: 27.75 kB / 435 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.3259, allocations: 234.5 kB / 435.2 MB, free: 3.277 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.3284, allocations: 1.496 MB / 436.7 MB, free: 1.773 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3299, allocations: 0.9662 MB / 437.7 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.3319, allocations: 2.388 MB / 440.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.3327, allocations: 0.6232 MB / 440.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.3362, allocations: 2.809 MB / 443.5 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/0.3372, allocations: 0.7599 MB / 444.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3374, allocations: 100 kB / 444.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3385, allocations: 0.7172 MB / 445.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.3389, allocations: 0.6354 MB / 445.7 MB, free: 8.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.3394, allocations: 463.3 kB / 446.2 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.3417, allocations: 1.644 MB / 447.8 MB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.3417, allocations: 4 kB / 447.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3417, allocations: 3.938 kB / 447.8 MB, free: 6.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.117e-05/0.3418, allocations: 0 / 447.8 MB, free: 6.656 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.003643/0.3454, allocations: 1.965 MB / 449.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3455, allocations: 8.031 kB / 449.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.3468, allocations: 416.6 kB / 450.2 MB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.3479, allocations: 0.5807 MB / 450.8 MB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.348, allocations: 193.7 kB / 451 MB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.3483, allocations: 125.1 kB / 451.1 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.35, allocations: 1.706 MB / 452.8 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.35, allocations: 3.938 kB / 452.8 MB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.3502, allocations: 48 kB / 452.8 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.3503, allocations: 85.95 kB / 452.9 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.3512, allocations: 455.3 kB / 453.4 MB, free: 0.7461 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.00615/0.3573, allocations: 3.56 MB / 456.9 MB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.358, allocations: 382.6 kB / 457.3 MB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.3582, allocations: 122.3 kB / 457.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.3584, allocations: 53.12 kB / 457.5 MB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3584, allocations: 47.06 kB / 457.5 MB, free: 12.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 3.366e-06/0.3584, allocations: 0 / 457.5 MB, free: 12.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.006367/0.3648, allocations: 2.153 MB / 459.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3648, allocations: 64.06 kB / 459.7 MB, free: 10.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.3652, allocations: 0.5426 MB / 460.3 MB, free: 9.641 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.3653, allocations: 41.7 kB / 460.3 MB, free: 9.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3655, allocations: 0.5009 MB / 460.8 MB, free: 9.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.3657, allocations: 281.6 kB / 461.1 MB, free: 8.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.3659, allocations: 194.7 kB / 461.3 MB, free: 8.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.366, allocations: 398.5 kB / 461.7 MB, free: 8.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.3662, allocations: 149.4 kB / 461.8 MB, free: 8.066 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.3666, allocations: 497.4 kB / 462.3 MB, free: 7.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.3672, allocations: 0.7182 MB / 463 MB, free: 6.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3672, allocations: 4 kB / 463 MB, free: 6.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0008845/0.3681, allocations: 0.7691 MB / 463.8 MB, free: 5.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3681, allocations: 8 kB / 463.8 MB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3681, allocations: 8 kB / 463.8 MB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.37, allocations: 0.9023 MB / 464.7 MB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.3703, allocations: 163.7 kB / 464.9 MB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009617/0.3713, allocations: 0.9811 MB / 465.9 MB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.3717, allocations: 28 kB / 465.9 MB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.3718, allocations: 63.92 kB / 466 MB, free: 3.625 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.000273/0.372, allocations: 172.4 kB / 466.1 MB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3721, allocations: 81.16 kB / 466.2 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008439/0.373, allocations: 0.6918 MB / 466.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.373, allocations: 8 kB / 466.9 MB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.373, allocations: 4 kB / 466.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.373, allocations: 3.984 kB / 466.9 MB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.3744, allocations: 1.273 MB / 468.2 MB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3744, allocations: 4 kB / 468.2 MB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008968/0.3753, allocations: 339.6 kB / 468.5 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3755, allocations: 147.4 kB / 468.7 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.186e-05/0.3756, allocations: 39.58 kB / 468.7 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.3756, allocations: 35.97 kB / 468.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3767, allocations: 2.449 MB / 471.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3767, allocations: 4.031 kB / 471.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.3775, allocations: 0.803 MB / 472 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/0.3776, allocations: 27.98 kB / 472 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.3779, allocations: 43.97 kB / 472.1 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.378, allocations: 60.47 kB / 472.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.3781, allocations: 51.95 kB / 472.2 MB, free: 13.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.3782, allocations: 252.6 kB / 472.4 MB, free: 12.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3782, allocations: 0 / 472.4 MB, free: 12.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007836/0.379, allocations: 439.7 kB / 472.8 MB, free: 12.45 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.0008633/0.3799, allocations: 0.4978 MB / 473.3 MB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.3807, allocations: 0.6435 MB / 474 MB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.202e-05/0.3807, allocations: 17.39 kB / 474 MB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.3813, allocations: 0.4958 MB / 474.5 MB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.3829, allocations: 2.378 MB / 476.9 MB, free: 8.027 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008203/0.3911, allocations: 2.295 MB / 479.2 MB, free: 5.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3913, allocations: 289.3 kB / 479.5 MB, free: 5.406 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000566/0.3919, allocations: 251.1 kB / 479.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009858/0.3929, allocations: 0.5066 MB / 480.2 MB, free: 4.645 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3929, allocations: 0 / 480.2 MB, free: 4.645 MB / 442.7 MB Notification: Performance of Templates: time 0.1899/0.5828, allocations: 32.73 MB / 0.5009 GB, free: 61.28 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.363772481679916]