Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001325/0.001325, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001449/0.001449, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2446/0.2446, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.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.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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.91 kB / 0.4921 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1533, allocations: 65.99 MB / 0.5565 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5119/0.6653, allocations: 180.6 MB / 0.7329 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009908/0.6752, allocations: 6.505 MB / 0.7393 GB, free: 6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.6762, allocations: 27.75 kB / 0.7393 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.6776, allocations: 449.5 kB / 0.7397 GB, free: 5.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.6825, allocations: 1.786 MB / 0.7415 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.6868, allocations: 1.522 MB / 0.743 GB, free: 2.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003355/0.6901, allocations: 2.247 MB / 0.7452 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.6914, allocations: 0.6641 MB / 0.7458 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004065/0.6955, allocations: 1.823 MB / 0.7476 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.6987, allocations: 1.675 MB / 0.7492 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.699, allocations: 96 kB / 0.7493 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.702, allocations: 1.396 MB / 0.7507 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007792/0.7028, allocations: 0.6936 MB / 0.7514 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009608/0.7038, allocations: 0.7509 MB / 0.7521 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.7079, allocations: 2.629 MB / 0.7547 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.7079, allocations: 0 / 0.7547 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7079, allocations: 0 / 0.7547 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.708, allocations: 0 / 0.7547 GB, free: 6.223 MB / 0.5606 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.00416/0.7121, allocations: 1.744 MB / 0.7564 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7122, allocations: 8.031 kB / 0.7564 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.7137, allocations: 322.9 kB / 0.7567 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.7153, allocations: 0.7771 MB / 0.7574 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.7154, allocations: 141.3 kB / 0.7576 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.7156, allocations: 107.9 kB / 0.7577 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.7187, allocations: 1.837 MB / 0.7595 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.7187, allocations: 0 / 0.7595 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.7189, allocations: 51.97 kB / 0.7595 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.719, allocations: 93.95 kB / 0.7596 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.7219, allocations: 1.699 MB / 0.7613 GB, free: 15.27 MB / 0.5762 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.01096/0.7329, allocations: 6.854 MB / 0.768 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.7344, allocations: 0.8481 MB / 0.7688 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.7351, allocations: 438.2 kB / 0.7692 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.7353, allocations: 109.7 kB / 0.7693 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.7353, allocations: 55.05 kB / 0.7694 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.354e-06/0.7353, allocations: 0 / 0.7694 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01192/0.7472, allocations: 4.126 MB / 0.7734 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.7473, allocations: 107.5 kB / 0.7735 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.7489, allocations: 1.105 MB / 0.7746 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.749, allocations: 45.7 kB / 0.7746 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.7495, allocations: 0.5274 MB / 0.7751 GB, free: 452 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.7498, allocations: 285.6 kB / 0.7754 GB, free: 164 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.7502, allocations: 210.6 kB / 0.7756 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.7504, allocations: 357.9 kB / 0.7759 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/0.7514, allocations: 0.5797 MB / 0.7765 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.7526, allocations: 0.876 MB / 0.7774 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.7548, allocations: 1.447 MB / 0.7788 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.7548, allocations: 4 kB / 0.7788 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003502/0.7583, allocations: 1.977 MB / 0.7807 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.7583, allocations: 8 kB / 0.7807 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.7584, allocations: 8 kB / 0.7807 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/0.7634, allocations: 1.352 MB / 0.782 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.7641, allocations: 151.7 kB / 0.7822 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.7671, allocations: 1.928 MB / 0.7841 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.7682, allocations: 44.06 kB / 0.7841 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.7683, allocations: 75.92 kB / 0.7842 GB, free: 6.879 MB / 0.5919 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.0007107/0.769, allocations: 387.7 kB / 0.7846 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.7693, allocations: 119.2 kB / 0.7847 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.7721, allocations: 1.501 MB / 0.7861 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.7721, allocations: 8 kB / 0.7861 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7721, allocations: 0 / 0.7861 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.7721, allocations: 7.922 kB / 0.7862 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/0.7766, allocations: 2.68 MB / 0.7888 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7766, allocations: 0 / 0.7888 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.7785, allocations: 331.6 kB / 0.7891 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.7787, allocations: 64.75 kB / 0.7892 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7788, allocations: 35.97 kB / 0.7892 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.7817, allocations: 3.04 MB / 0.7922 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7817, allocations: 0 / 0.7922 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.785, allocations: 1.916 MB / 0.794 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007434/0.7858, allocations: 340.1 kB / 0.7943 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.786, allocations: 28 kB / 0.7944 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009221/0.7869, allocations: 48.02 kB / 0.7944 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.787, allocations: 64.56 kB / 0.7945 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.7872, allocations: 63.89 kB / 0.7945 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001109/0.7883, allocations: 0.797 MB / 0.7953 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7883, allocations: 0 / 0.7953 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001497/0.7898, allocations: 479.5 kB / 0.7958 GB, free: 10.59 MB / 0.6075 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.001745/0.7915, allocations: 0.665 MB / 0.7964 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.7944, allocations: 1.428 MB / 0.7978 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.7944, allocations: 8.641 kB / 0.7978 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.7961, allocations: 0.8263 MB / 0.7986 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.7997, allocations: 0.7647 MB / 0.7994 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.8054, allocations: 3.004 MB / 0.8023 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009312/0.8064, allocations: 1.176 MB / 0.8035 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.8069, allocations: 127.3 kB / 0.8036 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.8069, allocations: 0 / 0.8036 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.05053/0.8574, allocations: 32.1 MB / 0.8349 GB, free: 2.523 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 15.258063676999882]