Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.0007812/0.0007812, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001801, 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.0006962/0.0006962, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000929/0.001625, 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 1.007/1.007, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09836/1.106, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2791/0.2791, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.026/0.3051, allocations: 13.24 MB / 292.8 MB, free: 6.363 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.815e-05, allocations: 5.641 kB / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3123/0.3123, allocations: 149 MB / 443.1 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.3163, allocations: 3.105 MB / 446.2 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.3168, allocations: 28.81 kB / 446.2 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.3173, allocations: 246.7 kB / 446.5 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.3198, allocations: 1.491 MB / 448 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3213, allocations: 0.9207 MB / 448.9 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.3231, allocations: 2.255 MB / 451.2 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.3236, allocations: 0.5076 MB / 451.7 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.3268, allocations: 2.847 MB / 454.5 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/0.3277, allocations: 0.6422 MB / 455.2 MB, free: 3.406 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.3279, allocations: 72.75 kB / 455.2 MB, free: 3.406 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.3291, allocations: 0.6988 MB / 455.9 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.3293, allocations: 411.4 kB / 456.3 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.3297, allocations: 331.7 kB / 456.6 MB, free: 3.285 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.3311, allocations: 1.285 MB / 457.9 MB, free: 3.125 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.3311, allocations: 0 / 457.9 MB, free: 3.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3311, allocations: 0.9688 kB / 457.9 MB, free: 3.125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.3311, allocations: 3.312 kB / 457.9 MB, free: 3.125 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00217/0.3333, allocations: 1.647 MB / 459.6 MB, free: 18.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3333, allocations: 9.578 kB / 459.6 MB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.3342, allocations: 369.9 kB / 460 MB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.3348, allocations: 0.4947 MB / 460.5 MB, free: 18.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.667e-05/0.3349, allocations: 167.4 kB / 460.6 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.335, allocations: 83.31 kB / 460.7 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000916/0.3359, allocations: 1.446 MB / 462.1 MB, free: 16.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.336, allocations: 2.969 kB / 462.1 MB, free: 16.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.336, allocations: 37.88 kB / 462.2 MB, free: 16.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.3361, allocations: 76.08 kB / 462.3 MB, free: 16.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.3365, allocations: 330 kB / 462.6 MB, free: 16.91 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.003231/0.3397, allocations: 3.126 MB / 465.7 MB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3399, allocations: 142.6 kB / 465.8 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.34, allocations: 56.62 kB / 465.9 MB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.509e-05/0.3401, allocations: 48.34 kB / 465.9 MB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3401, allocations: 41.38 kB / 466 MB, free: 15.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.3401, allocations: 0.7812 kB / 466 MB, free: 15.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002765/0.3429, allocations: 1.173 MB / 467.2 MB, free: 14.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.3429, allocations: 54.19 kB / 467.2 MB, free: 14.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.3433, allocations: 0.6819 MB / 467.9 MB, free: 14.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3433, allocations: 32.95 kB / 467.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3435, allocations: 0.5366 MB / 468.5 MB, free: 13.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.3436, allocations: 135.1 kB / 468.6 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.3437, allocations: 211.5 kB / 468.8 MB, free: 13.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3438, allocations: 402.9 kB / 469.2 MB, free: 13.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3439, allocations: 84.58 kB / 469.3 MB, free: 13.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.3442, allocations: 0.7878 MB / 470.1 MB, free: 12.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.3448, allocations: 0.9646 MB / 471 MB, free: 11.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3448, allocations: 5.344 kB / 471 MB, free: 11.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00069/0.3455, allocations: 0.7318 MB / 471.8 MB, free: 11.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3455, allocations: 18.67 kB / 471.8 MB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3456, allocations: 20.22 kB / 471.8 MB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.3461, allocations: 214 kB / 472 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.3464, allocations: 230.3 kB / 472.2 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/0.3468, allocations: 0.7021 MB / 472.9 MB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.3472, allocations: 43.91 kB / 473 MB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.3473, allocations: 60.06 kB / 473 MB, free: 11.26 MB / 442.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.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 (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.0001812/0.3474, allocations: 198.5 kB / 473.2 MB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.3475, allocations: 60.84 kB / 473.3 MB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.3479, allocations: 306 kB / 473.6 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3479, allocations: 3.344 kB / 473.6 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3479, allocations: 2.781 kB / 473.6 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3479, allocations: 3.922 kB / 473.6 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.3485, allocations: 0.6552 MB / 474.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3485, allocations: 6.875 kB / 474.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.349, allocations: 168.2 kB / 474.4 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3491, allocations: 88.67 kB / 474.5 MB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.617e-05/0.3492, allocations: 18.05 kB / 474.5 MB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3492, allocations: 12.58 kB / 474.5 MB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3502, allocations: 2.416 MB / 477 MB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3503, allocations: 0 / 477 MB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.3506, allocations: 424.1 kB / 477.4 MB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.3506, allocations: 10.41 kB / 477.4 MB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3508, allocations: 12.58 kB / 477.4 MB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3509, allocations: 23.94 kB / 477.4 MB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3509, allocations: 15.58 kB / 477.4 MB, free: 8.137 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3511, allocations: 292.2 kB / 477.7 MB, free: 8.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3511, allocations: 1.062 kB / 477.7 MB, free: 8.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007097/0.3518, allocations: 349.8 kB / 478.1 MB, free: 8.09 MB / 442.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.0007379/0.3525, allocations: 426.7 kB / 478.5 MB, free: 7.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.353, allocations: 443.6 kB / 478.9 MB, free: 7.945 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.893e-05/0.3531, allocations: 26.22 kB / 478.9 MB, free: 7.945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.3534, allocations: 293.4 kB / 479.2 MB, free: 7.812 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3547, allocations: 2.27 MB / 481.5 MB, free: 5.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/0.3623, allocations: 1.379 MB / 482.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3624, allocations: 213.2 kB / 483.1 MB, free: 4.914 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.3629, allocations: 220 kB / 483.3 MB, free: 4.883 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/0.3634, allocations: 359.4 kB / 483.7 MB, free: 4.832 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3634, allocations: 0.9062 kB / 483.7 MB, free: 4.832 MB / 442.7 MB Notification: Performance of Templates: time 0.02263/0.3861, allocations: 20.01 MB / 0.4919 GB, free: 15.21 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7804326554760337]