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.001891/0.001891, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001958/0.001958, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.535/1.535, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 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.3506/0.3506, allocations: 34.24 MB / 295.2 MB, free: 0.668 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.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.844e-06/1.844e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.15e-05, allocations: 10.25 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3588/0.3588, allocations: 156.3 MB / 0.521 GB, free: 8.547 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.3657, allocations: 5.974 MB / 0.5269 GB, free: 4.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.3665, allocations: 30.09 kB / 0.5269 GB, free: 4.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3677, allocations: 409.9 kB / 0.5273 GB, free: 4.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.372, allocations: 1.834 MB / 0.5291 GB, free: 3.367 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.3759, allocations: 1.579 MB / 0.5306 GB, free: 2.598 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.3785, allocations: 2.266 MB / 0.5328 GB, free: 1.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009014/0.3794, allocations: 0.6265 MB / 0.5334 GB, free: 1.227 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.3828, allocations: 2.111 MB / 0.5355 GB, free: 380 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.3855, allocations: 1.613 MB / 0.5371 GB, free: 15.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.3858, allocations: 98.41 kB / 0.5372 GB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.3887, allocations: 1.184 MB / 0.5383 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009069/0.3896, allocations: 0.7265 MB / 0.539 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.3906, allocations: 0.5656 MB / 0.5396 GB, free: 14.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.3949, allocations: 2.809 MB / 0.5423 GB, free: 12.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3949, allocations: 0 / 0.5423 GB, free: 12.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3949, allocations: 0 / 0.5423 GB, free: 12.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.292e-05/0.395, allocations: 3.984 kB / 0.5423 GB, free: 12.55 MB / 426.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.006093/0.4011, allocations: 1.656 MB / 0.544 GB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4011, allocations: 10.41 kB / 0.544 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.404, allocations: 472.3 kB / 0.5444 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.4064, allocations: 0.7321 MB / 0.5451 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.4066, allocations: 202.8 kB / 0.5453 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.407, allocations: 113 kB / 0.5454 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005768/0.4128, allocations: 2.549 MB / 0.5479 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/0.4128, allocations: 3.953 kB / 0.5479 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/0.4131, allocations: 52 kB / 0.548 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.4133, allocations: 93.89 kB / 0.5481 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005075/0.4184, allocations: 1.698 MB / 0.5497 GB, free: 6.344 MB / 426.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.01525/0.4336, allocations: 4.804 MB / 0.5544 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.4361, allocations: 0.8538 MB / 0.5552 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.4373, allocations: 431.6 kB / 0.5557 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.4374, allocations: 36.42 kB / 0.5557 GB, free: 132 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.571e-05/0.4375, allocations: 47.06 kB / 0.5557 GB, free: 76 kB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 4.027e-06/0.4375, allocations: 0 / 0.5557 GB, free: 76 kB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.01573/0.4532, allocations: 4.059 MB / 0.5597 GB, free: 11.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4533, allocations: 111.5 kB / 0.5598 GB, free: 11.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.4544, allocations: 0.7066 MB / 0.5605 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.4545, allocations: 45.7 kB / 0.5605 GB, free: 11.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/0.455, allocations: 0.5583 MB / 0.5611 GB, free: 10.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.4553, allocations: 261.8 kB / 0.5613 GB, free: 10.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.4557, allocations: 214.5 kB / 0.5615 GB, free: 10.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.456, allocations: 390.7 kB / 0.5619 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.457, allocations: 0.5875 MB / 0.5625 GB, free: 9.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.4588, allocations: 0.9184 MB / 0.5634 GB, free: 8.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.4613, allocations: 1.451 MB / 0.5648 GB, free: 6.461 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4613, allocations: 0 / 0.5648 GB, free: 6.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003856/0.4652, allocations: 1.99 MB / 0.5667 GB, free: 4.457 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4652, allocations: 8 kB / 0.5668 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.4652, allocations: 16.09 kB / 0.5668 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005175/0.4704, allocations: 1.357 MB / 0.5681 GB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/0.4711, allocations: 143.8 kB / 0.5682 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.4747, allocations: 1.936 MB / 0.5701 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00098/0.4757, allocations: 43.97 kB / 0.5702 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.4758, allocations: 67.98 kB / 0.5702 GB, free: 0.8711 MB / 442.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.0008344/0.4767, allocations: 393.4 kB / 0.5706 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.477, allocations: 111.5 kB / 0.5707 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.4799, allocations: 1.471 MB / 0.5721 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.48, allocations: 8 kB / 0.5722 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.48, allocations: 4 kB / 0.5722 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.48, allocations: 3.984 kB / 0.5722 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.4845, allocations: 2.365 MB / 0.5745 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4845, allocations: 7.125 kB / 0.5745 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/0.4865, allocations: 319.6 kB / 0.5748 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.4868, allocations: 72.73 kB / 0.5748 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.4869, allocations: 47.95 kB / 0.5749 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/0.49, allocations: 2.769 MB / 0.5776 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.49, allocations: 3.938 kB / 0.5776 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/0.4937, allocations: 1.897 MB / 0.5795 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.4944, allocations: 219.3 kB / 0.5797 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.4945, allocations: 35.92 kB / 0.5797 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.4954, allocations: 46.3 kB / 0.5797 GB, free: 6.844 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.4956, allocations: 68.48 kB / 0.5798 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.4957, allocations: 67.94 kB / 0.5799 GB, free: 6.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007422/0.4965, allocations: 495 kB / 0.5803 GB, free: 6.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4965, allocations: 0 / 0.5803 GB, free: 6.234 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001618/0.4981, allocations: 479.5 kB / 0.5808 GB, free: 5.766 MB / 458.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.001955/0.5, allocations: 0.6855 MB / 0.5815 GB, free: 5.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.5031, allocations: 1.422 MB / 0.5829 GB, free: 3.652 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.5031, allocations: 4.641 kB / 0.5829 GB, free: 3.648 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.505, allocations: 0.8389 MB / 0.5837 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.5073, allocations: 496.5 kB / 0.5842 GB, free: 2.324 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005734/0.5131, allocations: 2.674 MB / 0.5868 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008014/0.5139, allocations: 0.578 MB / 0.5873 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00136/0.5152, allocations: 421.3 kB / 0.5877 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.5156, allocations: 100.5 kB / 0.5878 GB, free: 14.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5156, allocations: 0 / 0.5878 GB, free: 14.5 MB / 474.7 MB Notification: Performance of Templates: time 0.05407/0.5697, allocations: 29.91 MB / 0.617 GB, free: 0.9258 MB / 490.7 MB " [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.309847005060874]