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.001174/0.001174, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00143/0.00143, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9642/0.9642, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.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.2671/0.2671, allocations: 34.85 MB / 296.6 MB, free: 468 kB / 266.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 1.963e-06/1.963e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.583e-05, allocations: 4.984 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3361/0.3361, allocations: 148.4 MB / 474.4 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.34, allocations: 3.086 MB / 477.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.3404, allocations: 31.22 kB / 477.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.341, allocations: 240.2 kB / 477.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.3439, allocations: 1.549 MB / 479.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.3456, allocations: 0.9765 MB / 480.2 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.3479, allocations: 2.341 MB / 482.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/0.3488, allocations: 0.6262 MB / 483.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.3524, allocations: 2.903 MB / 486.1 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3534, allocations: 0.7601 MB / 486.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.3537, allocations: 99.59 kB / 487 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.3549, allocations: 0.6817 MB / 487.7 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004749/0.3554, allocations: 0.7323 MB / 488.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.356, allocations: 0.5636 MB / 489 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.3579, allocations: 1.867 MB / 490.8 MB, free: 10.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3579, allocations: 0 / 490.8 MB, free: 10.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3579, allocations: 0 / 490.8 MB, free: 10.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.358, allocations: 0 / 490.8 MB, free: 10.78 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.0019/0.3599, allocations: 1.553 MB / 492.4 MB, free: 9.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3599, allocations: 8.344 kB / 492.4 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008724/0.3608, allocations: 427.8 kB / 492.8 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.3615, allocations: 0.583 MB / 493.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.3616, allocations: 195.8 kB / 493.6 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3617, allocations: 124.1 kB / 493.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.3627, allocations: 1.677 MB / 495.4 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3627, allocations: 2.969 kB / 495.4 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.3628, allocations: 47.66 kB / 495.4 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.3629, allocations: 92.89 kB / 495.5 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.3635, allocations: 448.8 kB / 495.9 MB, free: 7.852 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.003665/0.3671, allocations: 3.552 MB / 499.5 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.3675, allocations: 379.6 kB / 499.9 MB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3676, allocations: 132.2 kB / 0.4883 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.3678, allocations: 53.53 kB / 0.4883 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3678, allocations: 48.25 kB / 0.4884 GB, free: 5.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.124e-06/0.3678, allocations: 0 / 0.4884 GB, free: 5.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004406/0.3722, allocations: 2.198 MB / 0.4905 GB, free: 4.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3722, allocations: 111.1 kB / 0.4906 GB, free: 4.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.3726, allocations: 0.5446 MB / 0.4912 GB, free: 3.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.3726, allocations: 42.67 kB / 0.4912 GB, free: 3.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3728, allocations: 0.5034 MB / 0.4917 GB, free: 3.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3729, allocations: 280 kB / 0.492 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.3731, allocations: 195.5 kB / 0.4921 GB, free: 3.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.3732, allocations: 396.9 kB / 0.4925 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3734, allocations: 146.3 kB / 0.4927 GB, free: 2.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.3737, allocations: 499.7 kB / 0.4931 GB, free: 2.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.3742, allocations: 0.6768 MB / 0.4938 GB, free: 1.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3742, allocations: 6.859 kB / 0.4938 GB, free: 1.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0009001/0.3751, allocations: 0.7716 MB / 0.4946 GB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3751, allocations: 8.281 kB / 0.4946 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3752, allocations: 11.31 kB / 0.4946 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.3771, allocations: 0.9638 MB / 0.4955 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3774, allocations: 142.9 kB / 0.4957 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008681/0.3783, allocations: 0.9762 MB / 0.4966 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.3787, allocations: 29.97 kB / 0.4966 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.3788, allocations: 60.02 kB / 0.4967 GB, free: 392 kB / 410.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.0003416/0.3791, allocations: 181 kB / 0.4969 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3792, allocations: 75.05 kB / 0.4969 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/0.3801, allocations: 0.7052 MB / 0.4976 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.3801, allocations: 8.125 kB / 0.4976 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3801, allocations: 3.156 kB / 0.4976 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.3801, allocations: 3.984 kB / 0.4976 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.3817, allocations: 1.27 MB / 0.4989 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3817, allocations: 4.031 kB / 0.4989 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/0.3825, allocations: 274.8 kB / 0.4992 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.3826, allocations: 41.44 kB / 0.4992 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.3827, allocations: 42.53 kB / 0.4992 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3839, allocations: 2.445 MB / 0.5016 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3839, allocations: 0 / 0.5016 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.3848, allocations: 0.8089 MB / 0.5024 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.385, allocations: 152.1 kB / 0.5026 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.3851, allocations: 32.17 kB / 0.5026 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.3854, allocations: 36.47 kB / 0.5026 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3855, allocations: 63.64 kB / 0.5027 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.3856, allocations: 53.97 kB / 0.5027 GB, free: 11.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3858, allocations: 252.4 kB / 0.503 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3858, allocations: 0 / 0.503 GB, free: 11.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001065/0.3869, allocations: 455.6 kB / 0.5034 GB, free: 11.61 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.0008803/0.3878, allocations: 0.4984 MB / 0.5039 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000913/0.3887, allocations: 0.627 MB / 0.5045 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/0.3887, allocations: 13.39 kB / 0.5045 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.3892, allocations: 456.8 kB / 0.505 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3903, allocations: 0.5141 MB / 0.5055 GB, free: 9.539 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.3931, allocations: 2.12 MB / 0.5075 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3933, allocations: 285.3 kB / 0.5078 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005738/0.3939, allocations: 263 kB / 0.5081 GB, free: 6.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.3949, allocations: 0.491 MB / 0.5085 GB, free: 6.359 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3949, allocations: 0 / 0.5085 GB, free: 6.359 MB / 426.7 MB Notification: Performance of Templates: time 0.03308/0.428, allocations: 31.62 MB / 0.5394 GB, free: 7.133 MB / 458.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.180385157931596]