Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009844/0.0009844, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001603/0.001603, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9493/0.9493, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1355/0.1355, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 4 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.542e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2825/0.2825, allocations: 146.9 MB / 446 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0047/0.2872, allocations: 3.1 MB / 449.1 MB, free: 7.766 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007123/0.2879, allocations: 27.75 kB / 449.2 MB, free: 7.738 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.2886, allocations: 238.5 kB / 449.4 MB, free: 7.504 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.2922, allocations: 1.579 MB / 451 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.294, allocations: 0.9313 MB / 451.9 MB, free: 4.984 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.2963, allocations: 2.215 MB / 454.1 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009242/0.2972, allocations: 0.5181 MB / 454.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1934/0.4906, allocations: 2.733 MB / 457.4 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.4922, allocations: 0.6396 MB / 458 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003573/0.4925, allocations: 73.62 kB / 458.1 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.4946, allocations: 0.7246 MB / 458.8 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006631/0.4952, allocations: 484.6 kB / 459.3 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.4964, allocations: 412.8 kB / 459.7 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.4998, allocations: 1.477 MB / 461.2 MB, free: 6.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4998, allocations: 1.094 kB / 461.2 MB, free: 6.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4998, allocations: 1.062 kB / 461.2 MB, free: 6.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.972e-05/0.4998, allocations: 0 / 461.2 MB, free: 6.121 MB / 410.7 MB 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.002901/0.5027, allocations: 1.244 MB / 462.4 MB, free: 5.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.5027, allocations: 10.12 kB / 462.4 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.5038, allocations: 371.7 kB / 462.8 MB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.5048, allocations: 0.4917 MB / 463.3 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.5049, allocations: 171 kB / 463.4 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5051, allocations: 80.39 kB / 463.5 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.5064, allocations: 1.462 MB / 465 MB, free: 20.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5064, allocations: 6.156 kB / 465 MB, free: 20.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.5065, allocations: 33.08 kB / 465 MB, free: 20.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/0.5066, allocations: 85.62 kB / 465.1 MB, free: 20.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.5072, allocations: 334.8 kB / 465.4 MB, free: 19.98 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.003977/0.5111, allocations: 3.14 MB / 468.6 MB, free: 18.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.5114, allocations: 143.4 kB / 468.7 MB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.5115, allocations: 52.59 kB / 468.8 MB, free: 18.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.5116, allocations: 57.2 kB / 468.8 MB, free: 18.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.5116, allocations: 40.25 kB / 468.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.404e-06/0.5116, allocations: 0.9375 kB / 468.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.003032/0.5146, allocations: 1.139 MB / 470 MB, free: 17.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.5147, allocations: 130.8 kB / 470.1 MB, free: 17.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.5152, allocations: 0.6817 MB / 470.8 MB, free: 17.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.5152, allocations: 34.98 kB / 470.8 MB, free: 17.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.5154, allocations: 0.5381 MB / 471.4 MB, free: 16.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.5155, allocations: 137.8 kB / 471.5 MB, free: 16.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.5156, allocations: 209.1 kB / 471.7 MB, free: 16.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5157, allocations: 394.1 kB / 472.1 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.5158, allocations: 83.91 kB / 472.2 MB, free: 16.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.5162, allocations: 0.7885 MB / 473 MB, free: 15.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.5168, allocations: 0.8853 MB / 473.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.5168, allocations: 13 kB / 473.9 MB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0007742/0.5175, allocations: 0.7352 MB / 474.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5176, allocations: 15.31 kB / 474.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5176, allocations: 19.66 kB / 474.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/0.5181, allocations: 226.8 kB / 474.9 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.5185, allocations: 217.3 kB / 475.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004676/0.5189, allocations: 0.6892 MB / 475.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.5194, allocations: 45.69 kB / 475.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.5195, allocations: 59.75 kB / 475.9 MB, free: 14.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0002593/0.5198, allocations: 197.9 kB / 476.1 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.5198, allocations: 65.61 kB / 476.1 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.5202, allocations: 273.6 kB / 476.4 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5202, allocations: 3.375 kB / 476.4 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5202, allocations: 0 / 476.4 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.5202, allocations: 3.438 kB / 476.4 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008022/0.521, allocations: 0.6515 MB / 477.1 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.521, allocations: 0.8125 kB / 477.1 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.5215, allocations: 168.6 kB / 477.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.675e-05/0.5216, allocations: 22.55 kB / 477.2 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.5216, allocations: 7.734 kB / 477.2 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.5227, allocations: 2.42 MB / 479.7 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5227, allocations: 0 / 479.7 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.5231, allocations: 421.4 kB / 480.1 MB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.5233, allocations: 92.53 kB / 480.2 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.5234, allocations: 6.75 kB / 480.2 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.5235, allocations: 14.81 kB / 480.2 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.5236, allocations: 25.64 kB / 480.2 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.5236, allocations: 15.42 kB / 480.2 MB, free: 11.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.5238, allocations: 290.1 kB / 480.5 MB, free: 11.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5238, allocations: 0.625 kB / 480.5 MB, free: 11.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001114/0.525, allocations: 353.6 kB / 480.9 MB, free: 11.09 MB / 426.7 MB 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.001002/0.526, allocations: 0.5195 MB / 481.4 MB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.5266, allocations: 427.2 kB / 481.8 MB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.738e-05/0.5266, allocations: 16.09 kB / 481.8 MB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.5269, allocations: 273 kB / 482.1 MB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/0.5277, allocations: 363.9 kB / 482.4 MB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5295, allocations: 1.333 MB / 483.8 MB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.5297, allocations: 207.8 kB / 484 MB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.5301, allocations: 143.8 kB / 484.1 MB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.5307, allocations: 346.5 kB / 484.4 MB, free: 10 MB / 426.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5307, allocations: 0 / 484.4 MB, free: 10 MB / 426.7 MB Notification: Performance of Templates: time 0.02509/0.5558, allocations: 20.52 MB / 0.4931 GB, free: 5.617 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8474471932277083]