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.0009401/0.0009401, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001414/0.001414, allocations: 169 kB / 24.25 MB, free: 312 kB / 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 0.9782/0.9782, allocations: 158.6 MB / 186 MB, free: 2.504 MB / 170.7 MB " [Timeout remaining time 179] 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.1389/0.1389, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.938 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.603e-05/3.824e-05, allocations: 8.219 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3437/0.3437, allocations: 176.7 MB / 0.5121 GB, free: 3.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008569/0.3523, allocations: 7.074 MB / 0.519 GB, free: 12.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007556/0.353, allocations: 27.75 kB / 0.5191 GB, free: 12.5 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.3541, allocations: 421.4 kB / 0.5195 GB, free: 12.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.3586, allocations: 2.091 MB / 0.5215 GB, free: 9.984 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.3625, allocations: 1.775 MB / 0.5232 GB, free: 8.203 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.365, allocations: 2.271 MB / 0.5255 GB, free: 5.922 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.366, allocations: 0.6341 MB / 0.5261 GB, free: 5.293 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.3703, allocations: 2.239 MB / 0.5283 GB, free: 3.047 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.3728, allocations: 1.574 MB / 0.5298 GB, free: 1.469 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.3731, allocations: 104 kB / 0.5299 GB, free: 1.367 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.3757, allocations: 1.395 MB / 0.5313 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.3764, allocations: 0.7405 MB / 0.532 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008064/0.3772, allocations: 0.5654 MB / 0.5325 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.3806, allocations: 2.314 MB / 0.5348 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3806, allocations: 0 / 0.5348 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3806, allocations: 0 / 0.5348 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.912e-05/0.3806, allocations: 0 / 0.5348 GB, free: 12.34 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.002772/0.3834, allocations: 1.749 MB / 0.5365 GB, free: 10.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3834, allocations: 8.031 kB / 0.5365 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.3846, allocations: 470.4 kB / 0.537 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3857, allocations: 0.7064 MB / 0.5376 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3858, allocations: 188.8 kB / 0.5378 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.386, allocations: 116 kB / 0.5379 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.3877, allocations: 1.858 MB / 0.5398 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3877, allocations: 7.953 kB / 0.5398 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.3878, allocations: 43.98 kB / 0.5398 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.793e-05/0.3879, allocations: 97.89 kB / 0.5399 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.389, allocations: 0.601 MB / 0.5405 GB, free: 6.141 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.005821/0.3949, allocations: 4.759 MB / 0.5451 GB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.3955, allocations: 407.7 kB / 0.5455 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.3957, allocations: 177 kB / 0.5457 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.3959, allocations: 66.44 kB / 0.5458 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.3959, allocations: 57.44 kB / 0.5458 GB, free: 0.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.106e-06/0.3959, allocations: 4 kB / 0.5458 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.006255/0.4022, allocations: 2.589 MB / 0.5483 GB, free: 13.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.4022, allocations: 115.5 kB / 0.5484 GB, free: 13.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.4029, allocations: 0.6397 MB / 0.5491 GB, free: 13.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.4029, allocations: 37.7 kB / 0.5491 GB, free: 13.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.4033, allocations: 0.6118 MB / 0.5497 GB, free: 12.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.4034, allocations: 281.7 kB / 0.55 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.4037, allocations: 212.2 kB / 0.5502 GB, free: 11.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4039, allocations: 0.5703 MB / 0.5507 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.4042, allocations: 205.8 kB / 0.5509 GB, free: 11.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.4048, allocations: 0.6474 MB / 0.5516 GB, free: 10.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.4058, allocations: 0.8501 MB / 0.5524 GB, free: 9.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4058, allocations: 4 kB / 0.5524 GB, free: 9.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001582/0.4074, allocations: 1.063 MB / 0.5534 GB, free: 8.258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4074, allocations: 8 kB / 0.5534 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4074, allocations: 12.58 kB / 0.5535 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/0.4098, allocations: 1.068 MB / 0.5545 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.4102, allocations: 143.7 kB / 0.5546 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.4115, allocations: 1.348 MB / 0.556 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.412, allocations: 47.91 kB / 0.556 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.4121, allocations: 67.98 kB / 0.5561 GB, free: 5.539 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.000404/0.4125, allocations: 221.8 kB / 0.5563 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.4127, allocations: 103.5 kB / 0.5564 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.4139, allocations: 0.7932 MB / 0.5571 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.414, allocations: 11.94 kB / 0.5572 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.414, allocations: 4 kB / 0.5572 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.414, allocations: 7.984 kB / 0.5572 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.4162, allocations: 1.719 MB / 0.5588 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4162, allocations: 0 / 0.5588 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/0.4172, allocations: 323.7 kB / 0.5592 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.4173, allocations: 39.62 kB / 0.5592 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.4174, allocations: 31.98 kB / 0.5592 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.419, allocations: 3.593 MB / 0.5627 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.419, allocations: 0 / 0.5627 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.4204, allocations: 1.063 MB / 0.5638 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.4207, allocations: 203.5 kB / 0.564 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.4208, allocations: 31.31 kB / 0.564 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.4213, allocations: 47.89 kB / 0.564 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4214, allocations: 64.53 kB / 0.5641 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/0.4215, allocations: 63.95 kB / 0.5642 GB, free: 12.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003662/0.4218, allocations: 411 kB / 0.5646 GB, free: 12.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4218, allocations: 0 / 0.5646 GB, free: 12.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001387/0.4232, allocations: 0.5072 MB / 0.5651 GB, free: 12 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.001671/0.4249, allocations: 0.823 MB / 0.5659 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4263, allocations: 0.761 MB / 0.5666 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4263, allocations: 4.656 kB / 0.5666 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.4271, allocations: 0.5815 MB / 0.5672 GB, free: 9.805 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.4284, allocations: 489.3 kB / 0.5676 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.4319, allocations: 2.286 MB / 0.5699 GB, free: 7.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.4321, allocations: 289.2 kB / 0.5701 GB, free: 6.707 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007373/0.4328, allocations: 290.7 kB / 0.5704 GB, free: 6.414 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.4331, allocations: 88.48 kB / 0.5705 GB, free: 6.328 MB / 442.7 MB Notification: Performance of SimCode: time 2.074e-06/0.4331, allocations: 0 / 0.5705 GB, free: 6.328 MB / 442.7 MB Notification: Performance of Templates: time 0.03466/0.4677, allocations: 31.14 MB / 0.6009 GB, free: 7.207 MB / 474.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] 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","",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.7621722631156445]