Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001423/0.001423, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005531/0.005531, allocations: 161.8 kB / 24.7 MB, free: 9.414 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.9526/0.9526, allocations: 177.1 MB / 205 MB, free: 5.711 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.2864/0.2864, allocations: 32.78 MB / 294.2 MB, free: 1.223 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.677e-05, allocations: 6.281 kB / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3539/0.3539, allocations: 156.5 MB / 0.5833 GB, free: 7.848 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006133/0.36, allocations: 5.971 MB / 0.5892 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.3606, allocations: 27.75 kB / 0.5892 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.3614, allocations: 393.5 kB / 0.5896 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.3645, allocations: 1.835 MB / 0.5913 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.3671, allocations: 1.555 MB / 0.5929 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.3689, allocations: 2.145 MB / 0.595 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000637/0.3696, allocations: 478 kB / 0.5954 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.3721, allocations: 2.053 MB / 0.5974 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.374, allocations: 1.493 MB / 0.5989 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.3741, allocations: 76 kB / 0.599 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.3758, allocations: 1.165 MB / 0.6001 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.3761, allocations: 482.7 kB / 0.6005 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.3764, allocations: 411.2 kB / 0.6009 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.3785, allocations: 2.201 MB / 0.6031 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3785, allocations: 0 / 0.6031 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3785, allocations: 0 / 0.6031 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.3785, allocations: 0 / 0.6031 GB, free: 3.566 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002089/0.3806, allocations: 1.403 MB / 0.6045 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3806, allocations: 12.03 kB / 0.6045 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.3814, allocations: 287.1 kB / 0.6047 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.3822, allocations: 0.5635 MB / 0.6053 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3823, allocations: 175.6 kB / 0.6055 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.3824, allocations: 67.89 kB / 0.6055 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.3838, allocations: 1.975 MB / 0.6075 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3838, allocations: 0 / 0.6075 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.3839, allocations: 39.98 kB / 0.6075 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.3839, allocations: 81.2 kB / 0.6076 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.385, allocations: 1.043 MB / 0.6086 GB, free: 13.61 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.003702/0.3887, allocations: 3.858 MB / 0.6124 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.3891, allocations: 302.5 kB / 0.6126 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.3892, allocations: 136.8 kB / 0.6128 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.145e-05/0.3893, allocations: 23.98 kB / 0.6128 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3893, allocations: 34.56 kB / 0.6128 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3893, allocations: 0 / 0.6128 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.003503/0.3928, allocations: 1.748 MB / 0.6145 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.3929, allocations: 140.5 kB / 0.6147 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.3935, allocations: 0.8283 MB / 0.6155 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3935, allocations: 33.7 kB / 0.6155 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.3938, allocations: 0.5999 MB / 0.6161 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.3939, allocations: 134.9 kB / 0.6162 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.3941, allocations: 214.8 kB / 0.6164 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3942, allocations: 390.7 kB / 0.6168 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.3945, allocations: 277.1 kB / 0.6171 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.395, allocations: 0.9509 MB / 0.618 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008778/0.3959, allocations: 1.172 MB / 0.6191 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3959, allocations: 4 kB / 0.6192 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001238/0.3972, allocations: 1.228 MB / 0.6203 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3972, allocations: 13.25 kB / 0.6204 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3972, allocations: 20 kB / 0.6204 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000672/0.3979, allocations: 288.9 kB / 0.6207 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.3982, allocations: 211.5 kB / 0.6209 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007009/0.3989, allocations: 0.9147 MB / 0.6218 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.3992, allocations: 51.98 kB / 0.6218 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.3993, allocations: 64 kB / 0.6219 GB, free: 15.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.3996, allocations: 343.7 kB / 0.6222 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.3997, allocations: 83.48 kB / 0.6223 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.4003, allocations: 0.5073 MB / 0.6228 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4003, allocations: 4 kB / 0.6228 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4003, allocations: 0 / 0.6228 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4003, allocations: 7.984 kB / 0.6228 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.4013, allocations: 0.9764 MB / 0.6237 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4013, allocations: 0 / 0.6237 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.4018, allocations: 181.2 kB / 0.6239 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.519e-05/0.4018, allocations: 28.77 kB / 0.6239 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4018, allocations: 12 kB / 0.6239 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.4031, allocations: 2.615 MB / 0.6265 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4031, allocations: 0 / 0.6265 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.4037, allocations: 0.7012 MB / 0.6272 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4039, allocations: 109.1 kB / 0.6273 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.4039, allocations: 12.27 kB / 0.6273 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.4041, allocations: 19.98 kB / 0.6273 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.4042, allocations: 31.89 kB / 0.6273 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.4042, allocations: 18.36 kB / 0.6274 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004153/0.4046, allocations: 0.5224 MB / 0.6279 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4046, allocations: 0 / 0.6279 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007973/0.4054, allocations: 379.5 kB / 0.6282 GB, free: 8.352 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.00105/0.4064, allocations: 0.6504 MB / 0.6289 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007875/0.4072, allocations: 0.6516 MB / 0.6295 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4072, allocations: 4 kB / 0.6295 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.4077, allocations: 354.3 kB / 0.6298 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.4085, allocations: 347.7 kB / 0.6302 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4103, allocations: 1.569 MB / 0.6317 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4106, allocations: 433.5 kB / 0.6321 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.4108, allocations: 88.48 kB / 0.6322 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.4108, allocations: 0 / 0.6322 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of Templates: time 0.1767/0.5874, allocations: 22.15 MB / 0.6538 GB, free: 165.3 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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: 8.569038980640471]