Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001385/0.001385, allocations: 82.97 kB / 20.68 MB, free: 1.035 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.001589/0.001589, allocations: 164.2 kB / 23.95 MB, free: 4.168 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.472/1.472, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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.214/0.214, allocations: 34.29 MB / 295 MB, free: 14.59 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.51e-05/4.685e-05, allocations: 6.219 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3779/0.3779, allocations: 156.5 MB / 0.5851 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009367/0.3873, allocations: 5.969 MB / 0.5909 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006107/0.3879, allocations: 31.69 kB / 0.591 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3891, allocations: 389.6 kB / 0.5913 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.3936, allocations: 1.823 MB / 0.5931 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.3977, allocations: 1.558 MB / 0.5946 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.4008, allocations: 2.142 MB / 0.5967 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008709/0.4017, allocations: 485.8 kB / 0.5972 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.4059, allocations: 2.053 MB / 0.5992 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.409, allocations: 1.488 MB / 0.6007 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.4092, allocations: 80 kB / 0.6007 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.4121, allocations: 1.169 MB / 0.6019 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005719/0.4126, allocations: 470.8 kB / 0.6023 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006449/0.4133, allocations: 415.1 kB / 0.6027 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.4167, allocations: 2.197 MB / 0.6049 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4167, allocations: 4 kB / 0.6049 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4167, allocations: 0 / 0.6049 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.4167, allocations: 0 / 0.6049 GB, free: 5.098 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003504/0.4202, allocations: 1.399 MB / 0.6062 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4203, allocations: 8.031 kB / 0.6062 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.4218, allocations: 287.1 kB / 0.6065 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.423, allocations: 0.5674 MB / 0.6071 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.4232, allocations: 172.1 kB / 0.6072 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.4234, allocations: 71.89 kB / 0.6073 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.4261, allocations: 1.966 MB / 0.6092 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.4261, allocations: 7.938 kB / 0.6092 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.4263, allocations: 31.98 kB / 0.6093 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.4264, allocations: 77.27 kB / 0.6093 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.4284, allocations: 1.051 MB / 0.6104 GB, free: 15.14 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.00703/0.4354, allocations: 3.861 MB / 0.6141 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.436, allocations: 302.6 kB / 0.6144 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.4362, allocations: 143.1 kB / 0.6146 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.4363, allocations: 15.98 kB / 0.6146 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4364, allocations: 42.5 kB / 0.6146 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.4364, allocations: 0 / 0.6146 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.007011/0.4434, allocations: 1.752 MB / 0.6163 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.4435, allocations: 136.5 kB / 0.6165 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4446, allocations: 0.8322 MB / 0.6173 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.4446, allocations: 37.7 kB / 0.6173 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.4451, allocations: 0.5921 MB / 0.6179 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.4452, allocations: 131 kB / 0.618 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.4455, allocations: 218.8 kB / 0.6182 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.4458, allocations: 390.7 kB / 0.6186 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.4462, allocations: 270.5 kB / 0.6189 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4473, allocations: 0.947 MB / 0.6198 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.4489, allocations: 1.179 MB / 0.6209 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.4489, allocations: 4 kB / 0.6209 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002139/0.4511, allocations: 1.224 MB / 0.6221 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.4511, allocations: 16 kB / 0.6221 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.4511, allocations: 20 kB / 0.6222 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.4525, allocations: 294.2 kB / 0.6224 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.4531, allocations: 199.6 kB / 0.6226 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.4544, allocations: 0.9192 MB / 0.6235 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.4552, allocations: 40.05 kB / 0.6236 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4553, allocations: 75.92 kB / 0.6236 GB, free: 0.6641 MB / 0.5137 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.0005024/0.4559, allocations: 341.9 kB / 0.624 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.456, allocations: 87.48 kB / 0.624 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.4572, allocations: 0.5129 MB / 0.6246 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4572, allocations: 4.625 kB / 0.6246 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.4572, allocations: 3.984 kB / 0.6246 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4572, allocations: 0 / 0.6246 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.4591, allocations: 0.9606 MB / 0.6255 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4591, allocations: 11.22 kB / 0.6255 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4602, allocations: 183.8 kB / 0.6257 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.4603, allocations: 24.78 kB / 0.6257 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.4604, allocations: 12 kB / 0.6257 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/0.4632, allocations: 2.621 MB / 0.6283 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4632, allocations: 0 / 0.6283 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.4644, allocations: 0.7048 MB / 0.629 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.4647, allocations: 99.86 kB / 0.6291 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4648, allocations: 19.95 kB / 0.6291 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.4653, allocations: 15.98 kB / 0.6291 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.4653, allocations: 27.95 kB / 0.6291 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.4654, allocations: 27.92 kB / 0.6291 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007764/0.4662, allocations: 0.5224 MB / 0.6297 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4662, allocations: 0 / 0.6297 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001397/0.4676, allocations: 375.5 kB / 0.63 GB, free: 9.852 MB / 0.5294 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.001753/0.4693, allocations: 0.6447 MB / 0.6306 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.4708, allocations: 0.651 MB / 0.6313 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4708, allocations: 7.938 kB / 0.6313 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4718, allocations: 350.5 kB / 0.6316 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4735, allocations: 344.5 kB / 0.632 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.4762, allocations: 1.523 MB / 0.6334 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.4767, allocations: 433.5 kB / 0.6339 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009332/0.4777, allocations: 369 kB / 0.6342 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4779, allocations: 76.48 kB / 0.6343 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.4779, allocations: 0 / 0.6343 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of Templates: time 0.2098/0.6877, allocations: 19.32 MB / 0.6531 GB, free: 184.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.250679939985275]