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.00145/0.00145, allocations: 84.73 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.001209/0.001209, allocations: 160.2 kB / 24.91 MB, free: 8.758 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 1.027/1.027, allocations: 177 MB / 205.2 MB, free: 5.434 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.2515/0.2515, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 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.422e-06/1.422e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.558e-05, allocations: 4.281 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3437/0.3437, allocations: 148.5 MB / 474.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.3475, allocations: 3.091 MB / 477.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.3478, allocations: 27.03 kB / 477.6 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.3484, allocations: 237.7 kB / 477.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.3509, allocations: 1.519 MB / 479.3 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3523, allocations: 0.9525 MB / 480.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.354, allocations: 2.345 MB / 482.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005777/0.3546, allocations: 0.6139 MB / 483.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.3574, allocations: 2.888 MB / 486.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.3581, allocations: 0.7622 MB / 486.9 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3582, allocations: 98.53 kB / 487 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.3592, allocations: 0.7167 MB / 487.7 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.3596, allocations: 0.7315 MB / 488.4 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.36, allocations: 0.566 MB / 489 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.3614, allocations: 1.866 MB / 490.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3614, allocations: 0 / 490.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.3614, allocations: 0 / 490.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.3614, allocations: 0 / 490.9 MB, free: 10.77 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.001619/0.363, allocations: 1.549 MB / 492.4 MB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.363, allocations: 11.31 kB / 492.4 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.3639, allocations: 430.6 kB / 492.8 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.3646, allocations: 0.5835 MB / 493.4 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.3647, allocations: 197.1 kB / 493.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.3648, allocations: 117.3 kB / 493.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.3658, allocations: 1.674 MB / 495.4 MB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.3658, allocations: 9.688 kB / 495.4 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/0.3659, allocations: 49.7 kB / 495.5 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/0.3659, allocations: 89.58 kB / 495.6 MB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.3665, allocations: 452.2 kB / 496 MB, free: 7.84 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.003484/0.37, allocations: 3.55 MB / 499.5 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.3704, allocations: 376.7 kB / 499.9 MB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3705, allocations: 134.4 kB / 0.4883 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3706, allocations: 56.98 kB / 0.4884 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3706, allocations: 44.56 kB / 0.4884 GB, free: 5.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.904e-06/0.3706, allocations: 0 / 0.4884 GB, free: 5.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004128/0.3748, allocations: 2.194 MB / 0.4906 GB, free: 4.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.3748, allocations: 109 kB / 0.4907 GB, free: 4.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3751, allocations: 0.5442 MB / 0.4912 GB, free: 3.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.3752, allocations: 43.36 kB / 0.4912 GB, free: 3.766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3753, allocations: 0.4951 MB / 0.4917 GB, free: 3.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3754, allocations: 281.9 kB / 0.492 GB, free: 3.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.3756, allocations: 194.8 kB / 0.4922 GB, free: 3.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.3757, allocations: 395.2 kB / 0.4926 GB, free: 2.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.3759, allocations: 154.4 kB / 0.4927 GB, free: 2.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.3763, allocations: 495.9 kB / 0.4932 GB, free: 2.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.3771, allocations: 0.6922 MB / 0.4939 GB, free: 1.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3771, allocations: 0 / 0.4939 GB, free: 1.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001213/0.3783, allocations: 0.7678 MB / 0.4946 GB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3783, allocations: 8.062 kB / 0.4946 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3783, allocations: 18.72 kB / 0.4946 GB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.381, allocations: 0.9576 MB / 0.4956 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.3815, allocations: 151.7 kB / 0.4957 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3826, allocations: 0.9821 MB / 0.4967 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.3831, allocations: 37.88 kB / 0.4967 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.3832, allocations: 59.89 kB / 0.4968 GB, free: 380 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.0003083/0.3836, allocations: 175.2 kB / 0.4969 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.3837, allocations: 81.48 kB / 0.497 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3849, allocations: 0.698 MB / 0.4977 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3849, allocations: 8.969 kB / 0.4977 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3849, allocations: 0 / 0.4977 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3849, allocations: 3.984 kB / 0.4977 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.387, allocations: 1.266 MB / 0.4989 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.387, allocations: 3.984 kB / 0.4989 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.3883, allocations: 323.2 kB / 0.4993 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.3884, allocations: 42.84 kB / 0.4993 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/0.3885, allocations: 30.95 kB / 0.4993 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.3901, allocations: 2.436 MB / 0.5017 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3901, allocations: 3.984 kB / 0.5017 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3913, allocations: 0.8149 MB / 0.5025 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3916, allocations: 158.8 kB / 0.5027 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3917, allocations: 32.42 kB / 0.5027 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.3922, allocations: 40.28 kB / 0.5027 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.3924, allocations: 63.95 kB / 0.5028 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.3925, allocations: 49.95 kB / 0.5028 GB, free: 11.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.3928, allocations: 253.8 kB / 0.5031 GB, free: 11.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3928, allocations: 0 / 0.5031 GB, free: 11.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001255/0.394, allocations: 457.4 kB / 0.5035 GB, free: 11.57 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.001273/0.3953, allocations: 0.4944 MB / 0.504 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.3966, allocations: 0.6371 MB / 0.5046 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-05/0.3966, allocations: 13.39 kB / 0.5046 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.3975, allocations: 449.6 kB / 0.5051 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.399, allocations: 0.5148 MB / 0.5056 GB, free: 9.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4028, allocations: 2.122 MB / 0.5076 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4031, allocations: 277.3 kB / 0.5079 GB, free: 7.086 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000764/0.4038, allocations: 259 kB / 0.5081 GB, free: 6.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/0.4053, allocations: 0.5027 MB / 0.5086 GB, free: 6.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4053, allocations: 0 / 0.5086 GB, free: 6.32 MB / 426.7 MB Notification: Performance of Templates: time 0.03213/0.4374, allocations: 31.66 MB / 0.5396 GB, free: 7.051 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 -s gbode -gbm=radauIIA3 -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.352069767657667]