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.001773/0.001773, allocations: 83.16 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00196/0.00196, allocations: 158 kB / 23.95 MB, free: 4.168 MB / 14.72 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.543/1.543, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2263/0.2263, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.66e-05, allocations: 6.281 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3979/0.3979, allocations: 156.3 MB / 0.5849 GB, free: 9.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.408, allocations: 5.975 MB / 0.5908 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007288/0.4087, allocations: 23.75 kB / 0.5908 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.41, allocations: 417.4 kB / 0.5912 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.415, allocations: 1.823 MB / 0.593 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.4193, allocations: 1.592 MB / 0.5945 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003135/0.4224, allocations: 2.266 MB / 0.5967 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.4235, allocations: 0.5947 MB / 0.5973 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004341/0.4279, allocations: 2.107 MB / 0.5994 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.4311, allocations: 1.609 MB / 0.601 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.4314, allocations: 100 kB / 0.6011 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.4341, allocations: 1.188 MB / 0.6022 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007841/0.4349, allocations: 0.7288 MB / 0.6029 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008789/0.4358, allocations: 0.5693 MB / 0.6035 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.4403, allocations: 2.793 MB / 0.6062 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4403, allocations: 0 / 0.6062 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4403, allocations: 4 kB / 0.6062 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.923e-05/0.4403, allocations: 0 / 0.6062 GB, free: 3.52 MB / 0.4981 GB 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.004096/0.4444, allocations: 1.661 MB / 0.6078 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4445, allocations: 9.344 kB / 0.6078 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.4461, allocations: 311 kB / 0.6081 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.4476, allocations: 0.7154 MB / 0.6088 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.4478, allocations: 192.8 kB / 0.609 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.448, allocations: 115.9 kB / 0.6091 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.4514, allocations: 2.544 MB / 0.6116 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.4515, allocations: 7.953 kB / 0.6116 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.4516, allocations: 47.98 kB / 0.6117 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.4518, allocations: 89.95 kB / 0.6118 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.4547, allocations: 1.69 MB / 0.6134 GB, free: 11.82 MB / 0.5137 GB 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.009677/0.4644, allocations: 4.803 MB / 0.6181 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.4659, allocations: 0.8565 MB / 0.6189 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.4666, allocations: 439.5 kB / 0.6194 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.4667, allocations: 28.48 kB / 0.6194 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.4667, allocations: 44.75 kB / 0.6194 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/0.4667, allocations: 3.938 kB / 0.6194 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01231/0.479, allocations: 4.032 MB / 0.6234 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.4791, allocations: 111.5 kB / 0.6235 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.4802, allocations: 0.6951 MB / 0.6241 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.4803, allocations: 45.7 kB / 0.6242 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.4807, allocations: 0.5544 MB / 0.6247 GB, free: 16 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.481, allocations: 269.9 kB / 0.625 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.4814, allocations: 214.5 kB / 0.6252 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4816, allocations: 390.7 kB / 0.6256 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4826, allocations: 0.5797 MB / 0.6261 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4839, allocations: 0.9184 MB / 0.627 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.4863, allocations: 1.454 MB / 0.6285 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.4863, allocations: 4 kB / 0.6285 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003554/0.4898, allocations: 1.943 MB / 0.6304 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.4899, allocations: 8 kB / 0.6304 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4899, allocations: 11.94 kB / 0.6304 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005231/0.4951, allocations: 1.357 MB / 0.6317 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.4958, allocations: 143.8 kB / 0.6318 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.4991, allocations: 1.92 MB / 0.6337 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009858/0.5001, allocations: 47.95 kB / 0.6338 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.5002, allocations: 68.86 kB / 0.6338 GB, free: 6.414 MB / 0.5294 GB 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.0008091/0.501, allocations: 389.5 kB / 0.6342 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.5013, allocations: 91.48 kB / 0.6343 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.5042, allocations: 1.473 MB / 0.6357 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5042, allocations: 8 kB / 0.6357 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.5042, allocations: 0 / 0.6357 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5042, allocations: 3.984 kB / 0.6357 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/0.5086, allocations: 2.375 MB / 0.638 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5086, allocations: 0 / 0.638 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.5106, allocations: 320.5 kB / 0.6384 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.5108, allocations: 76.77 kB / 0.6384 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/0.5109, allocations: 35.97 kB / 0.6385 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2339/0.7448, allocations: 2.773 MB / 0.6412 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7448, allocations: 1.125 kB / 0.6412 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/0.7479, allocations: 1.876 MB / 0.643 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/0.7485, allocations: 214.7 kB / 0.6432 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.7487, allocations: 35.25 kB / 0.6432 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/0.7496, allocations: 52.08 kB / 0.6433 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.7497, allocations: 58.86 kB / 0.6433 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.7499, allocations: 69.41 kB / 0.6434 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006183/0.7505, allocations: 497 kB / 0.6439 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7505, allocations: 0 / 0.6439 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001612/0.7521, allocations: 480.2 kB / 0.6443 GB, free: 185.9 MB / 0.5294 GB 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.001808/0.7539, allocations: 0.6734 MB / 0.645 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002845/0.7568, allocations: 1.424 MB / 0.6464 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.7568, allocations: 10.64 kB / 0.6464 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.7585, allocations: 0.8353 MB / 0.6472 GB, free: 185 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.7608, allocations: 466.8 kB / 0.6477 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.7658, allocations: 2.653 MB / 0.6503 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.7667, allocations: 0.5761 MB / 0.6508 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001363/0.768, allocations: 425 kB / 0.6512 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.7684, allocations: 97.81 kB / 0.6513 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.7684, allocations: 0 / 0.6513 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.04219/0.8106, allocations: 29.81 MB / 0.6804 GB, free: 164.9 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.289326075464487]