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.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.000863/0.000863, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001861/0.001861, allocations: 165 kB / 24.56 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9858/0.9858, allocations: 177.1 MB / 205 MB, free: 5.25 MB / 186.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.2667/0.2667, allocations: 32.81 MB / 294.3 MB, free: 1.227 MB / 266.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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.683e-06/1.683e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.535e-05, allocations: 4.703 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3525/0.3525, allocations: 149.1 MB / 0.5128 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.3567, allocations: 3.044 MB / 0.5158 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007286/0.3575, allocations: 34.06 kB / 0.5158 GB, free: 16.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.3582, allocations: 243.2 kB / 0.5161 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.3614, allocations: 1.541 MB / 0.5176 GB, free: 15.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.3633, allocations: 0.9764 MB / 0.5185 GB, free: 14.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002388/0.3657, allocations: 2.335 MB / 0.5208 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009627/0.3667, allocations: 0.6392 MB / 0.5214 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.369, allocations: 1.532 MB / 0.5229 GB, free: 12.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.3711, allocations: 1.622 MB / 0.5245 GB, free: 11.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.3714, allocations: 100.3 kB / 0.5246 GB, free: 11.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.3727, allocations: 0.6899 MB / 0.5253 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.3732, allocations: 0.7366 MB / 0.526 GB, free: 11.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007412/0.3739, allocations: 0.5723 MB / 0.5266 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.3763, allocations: 1.87 MB / 0.5284 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3763, allocations: 0 / 0.5284 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3763, allocations: 0 / 0.5284 GB, free: 10.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.325e-05/0.3764, allocations: 2.312 kB / 0.5284 GB, free: 10.55 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.002968/0.3793, allocations: 1.743 MB / 0.5301 GB, free: 9.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3794, allocations: 12.89 kB / 0.5301 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.3805, allocations: 461.5 kB / 0.5305 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3816, allocations: 0.7039 MB / 0.5312 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3818, allocations: 195.3 kB / 0.5314 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.3819, allocations: 117.5 kB / 0.5315 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.3835, allocations: 1.835 MB / 0.5333 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3836, allocations: 10.58 kB / 0.5333 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.3837, allocations: 47.55 kB / 0.5334 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.805e-05/0.3838, allocations: 87.64 kB / 0.5335 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3848, allocations: 0.6012 MB / 0.534 GB, free: 7.172 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.005131/0.39, allocations: 4.708 MB / 0.5386 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.3905, allocations: 406.6 kB / 0.539 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3908, allocations: 173.2 kB / 0.5392 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.032e-05/0.3908, allocations: 32.66 kB / 0.5392 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3909, allocations: 50.3 kB / 0.5393 GB, free: 3.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.296e-06/0.3909, allocations: 0 / 0.5393 GB, free: 3.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.005524/0.3964, allocations: 2.591 MB / 0.5418 GB, free: 2.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.3964, allocations: 109 kB / 0.5419 GB, free: 2.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.3969, allocations: 0.6462 MB / 0.5425 GB, free: 1.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.397, allocations: 43.67 kB / 0.5426 GB, free: 1.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3972, allocations: 0.6009 MB / 0.5432 GB, free: 1.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.3973, allocations: 278.7 kB / 0.5434 GB, free: 0.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.3976, allocations: 215.8 kB / 0.5436 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3977, allocations: 0.5726 MB / 0.5442 GB, free: 276 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.398, allocations: 210.5 kB / 0.5444 GB, free: 216 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.3985, allocations: 0.6487 MB / 0.545 GB, free: 15.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.3994, allocations: 0.8522 MB / 0.5459 GB, free: 14.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3994, allocations: 7.938 kB / 0.5459 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001489/0.4009, allocations: 1.059 MB / 0.5469 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.401, allocations: 8 kB / 0.5469 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.401, allocations: 8 kB / 0.5469 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.4035, allocations: 1.09 MB / 0.548 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.4038, allocations: 147.8 kB / 0.5481 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.4052, allocations: 1.348 MB / 0.5494 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.4058, allocations: 47.91 kB / 0.5495 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/0.4058, allocations: 67.98 kB / 0.5496 GB, free: 10.96 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.0004316/0.4063, allocations: 224.2 kB / 0.5498 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.4064, allocations: 107.5 kB / 0.5499 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.4078, allocations: 0.8986 MB / 0.5507 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4078, allocations: 8 kB / 0.5508 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4078, allocations: 4.688 kB / 0.5508 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.4078, allocations: 3.984 kB / 0.5508 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.4109, allocations: 1.715 MB / 0.5524 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4109, allocations: 0 / 0.5524 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.4121, allocations: 315.7 kB / 0.5527 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/0.4123, allocations: 43.27 kB / 0.5528 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.293e-05/0.4124, allocations: 35.97 kB / 0.5528 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.4144, allocations: 3.597 MB / 0.5563 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4144, allocations: 0 / 0.5563 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.4161, allocations: 1.063 MB / 0.5574 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.4166, allocations: 203.4 kB / 0.5576 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.4167, allocations: 35.94 kB / 0.5576 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.4173, allocations: 43.95 kB / 0.5576 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4174, allocations: 64.53 kB / 0.5577 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.4175, allocations: 63.95 kB / 0.5578 GB, free: 2.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004362/0.418, allocations: 415 kB / 0.5582 GB, free: 1.809 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.418, allocations: 0 / 0.5582 GB, free: 1.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001375/0.4193, allocations: 443.6 kB / 0.5586 GB, free: 1.375 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.001244/0.4206, allocations: 0.5266 MB / 0.5591 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.4222, allocations: 0.7551 MB / 0.5598 GB, free: 80 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4222, allocations: 4.891 kB / 0.5598 GB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.4232, allocations: 0.5815 MB / 0.5604 GB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.4248, allocations: 498.5 kB / 0.5609 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.4292, allocations: 2.291 MB / 0.5631 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4295, allocations: 281.2 kB / 0.5634 GB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009761/0.4305, allocations: 362.6 kB / 0.5637 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.4308, allocations: 100.5 kB / 0.5638 GB, free: 11.95 MB / 442.7 MB Notification: Performance of SimCode: time 2.535e-06/0.4308, allocations: 0 / 0.5638 GB, free: 11.95 MB / 442.7 MB Notification: Performance of Templates: time 0.03796/0.4687, allocations: 28.33 MB / 0.5915 GB, free: 15.99 MB / 474.7 MB " [Timeout remaining time 660] 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.778968541882932]