Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001238/0.001238, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00514/0.00514, allocations: 160.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.9474/0.9474, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3015/0.3015, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.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.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.323e-05, allocations: 8.891 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3664/0.3664, allocations: 156.3 MB / 0.5832 GB, free: 8.012 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006527/0.3729, allocations: 5.974 MB / 0.589 GB, free: 2.023 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.3736, allocations: 27.75 kB / 0.589 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.3746, allocations: 413.4 kB / 0.5894 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.3783, allocations: 1.834 MB / 0.5912 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.3814, allocations: 1.58 MB / 0.5928 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.384, allocations: 2.266 MB / 0.595 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.3853, allocations: 0.6024 MB / 0.5956 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.3888, allocations: 2.107 MB / 0.5976 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.391, allocations: 1.61 MB / 0.5992 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.3912, allocations: 100 kB / 0.5993 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.3932, allocations: 1.184 MB / 0.6004 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.3937, allocations: 0.7288 MB / 0.6012 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.3942, allocations: 0.5693 MB / 0.6017 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.3976, allocations: 2.797 MB / 0.6044 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3976, allocations: 3.469 kB / 0.6044 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3976, allocations: 0 / 0.6044 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.3977, allocations: 4 kB / 0.6044 GB, free: 2.176 MB / 0.4948 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.002545/0.4002, allocations: 1.657 MB / 0.6061 GB, free: 496 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4003, allocations: 8.031 kB / 0.6061 GB, free: 488 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/0.4011, allocations: 319 kB / 0.6064 GB, free: 168 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.4021, allocations: 0.7077 MB / 0.6071 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4022, allocations: 192.7 kB / 0.6073 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4023, allocations: 107.9 kB / 0.6074 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.4048, allocations: 2.548 MB / 0.6098 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.4048, allocations: 15.89 kB / 0.6099 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/0.4049, allocations: 43.98 kB / 0.6099 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/0.4049, allocations: 89.95 kB / 0.61 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.4066, allocations: 1.694 MB / 0.6116 GB, free: 10.48 MB / 0.5105 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.00557/0.4122, allocations: 4.802 MB / 0.6163 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.4131, allocations: 0.8461 MB / 0.6172 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.4135, allocations: 443.4 kB / 0.6176 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.4136, allocations: 24.48 kB / 0.6176 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4136, allocations: 47.06 kB / 0.6176 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.4136, allocations: 0 / 0.6176 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.006438/0.42, allocations: 4.033 MB / 0.6216 GB, free: 160 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4201, allocations: 115.4 kB / 0.6217 GB, free: 20 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.4207, allocations: 0.699 MB / 0.6224 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/0.4208, allocations: 45.7 kB / 0.6224 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.421, allocations: 0.5505 MB / 0.623 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.4212, allocations: 277.6 kB / 0.6232 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/0.4216, allocations: 214.5 kB / 0.6234 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4218, allocations: 390.7 kB / 0.6238 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/0.4224, allocations: 0.5797 MB / 0.6244 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007363/0.4231, allocations: 0.9261 MB / 0.6253 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4244, allocations: 1.451 MB / 0.6267 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4244, allocations: 0 / 0.6267 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002111/0.4265, allocations: 1.939 MB / 0.6286 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.4266, allocations: 8.156 kB / 0.6286 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.4266, allocations: 12 kB / 0.6286 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/0.4291, allocations: 1.357 MB / 0.6299 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.4295, allocations: 143.8 kB / 0.6301 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.4316, allocations: 1.925 MB / 0.6319 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.4322, allocations: 43.97 kB / 0.632 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.4323, allocations: 67.98 kB / 0.6321 GB, free: 5.109 MB / 0.5261 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.0005858/0.4329, allocations: 394.5 kB / 0.6324 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.433, allocations: 87.48 kB / 0.6325 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.4346, allocations: 1.481 MB / 0.634 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.4347, allocations: 8 kB / 0.634 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4347, allocations: 0 / 0.634 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4347, allocations: 5.766 kB / 0.634 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.4372, allocations: 2.362 MB / 0.6363 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.4372, allocations: 4.031 kB / 0.6363 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/0.4381, allocations: 323.7 kB / 0.6366 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.4382, allocations: 68.69 kB / 0.6367 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.4383, allocations: 47.09 kB / 0.6367 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1784/0.6167, allocations: 2.769 MB / 0.6394 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6167, allocations: 1.969 kB / 0.6394 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.6187, allocations: 1.876 MB / 0.6412 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.6191, allocations: 221.4 kB / 0.6415 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/0.6192, allocations: 28.06 kB / 0.6415 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.6196, allocations: 43.55 kB / 0.6415 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.6197, allocations: 63.94 kB / 0.6416 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/0.6198, allocations: 65.78 kB / 0.6416 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000388/0.6202, allocations: 497.8 kB / 0.6421 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6202, allocations: 0.9688 kB / 0.6421 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001063/0.6212, allocations: 480.3 kB / 0.6426 GB, free: 164.1 MB / 0.5261 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.001149/0.6224, allocations: 0.6886 MB / 0.6432 GB, free: 164 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.624, allocations: 1.417 MB / 0.6446 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.624, allocations: 7.297 kB / 0.6446 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.6249, allocations: 0.8264 MB / 0.6454 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.626, allocations: 473.1 kB / 0.6459 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.6289, allocations: 2.741 MB / 0.6486 GB, free: 162 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6293, allocations: 0.575 MB / 0.6491 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6295, allocations: 100.6 kB / 0.6492 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/0.6296, allocations: 0 / 0.6492 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.02947/0.659, allocations: 28.48 MB / 0.677 GB, free: 156.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.357288538478315]