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.0009709/0.0009709, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001026/0.001026, allocations: 173.1 kB / 24.92 MB, free: 9.18 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 1.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2758/0.2758, allocations: 34.25 MB / 296.1 MB, free: 0.707 MB / 266.7 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.733e-06/1.733e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.464e-05, allocations: 8.562 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3777/0.3777, allocations: 148.6 MB / 473.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.3836, allocations: 3.091 MB / 477 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009237/0.3845, allocations: 33.53 kB / 477 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.3854, allocations: 238.3 kB / 477.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.3898, allocations: 1.504 MB / 478.7 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.3923, allocations: 0.9293 MB / 479.7 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.3959, allocations: 2.218 MB / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.3971, allocations: 0.5147 MB / 482.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006176/0.4033, allocations: 2.829 MB / 485.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.4052, allocations: 0.6348 MB / 485.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004494/0.4056, allocations: 78.16 kB / 485.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.4077, allocations: 0.6964 MB / 486.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005159/0.4082, allocations: 480.9 kB / 487.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.4089, allocations: 412.1 kB / 487.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.4113, allocations: 1.464 MB / 489 MB, free: 11.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4113, allocations: 0 / 489 MB, free: 11.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4113, allocations: 0 / 489 MB, free: 11.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.694e-05/0.4114, allocations: 3.938 kB / 489 MB, free: 11.09 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.002503/0.4139, allocations: 1.305 MB / 490.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4139, allocations: 12.45 kB / 490.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.4152, allocations: 372.9 kB / 490.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.416, allocations: 499.8 kB / 491.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.4162, allocations: 171.3 kB / 491.3 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.4163, allocations: 82.69 kB / 491.4 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.4174, allocations: 1.441 MB / 492.8 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.4174, allocations: 0 / 492.8 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/0.4175, allocations: 37.55 kB / 492.9 MB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-05/0.4176, allocations: 81.45 kB / 493 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.4183, allocations: 326.2 kB / 493.3 MB, free: 8.473 MB / 410.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.003663/0.4219, allocations: 3.128 MB / 496.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.4222, allocations: 135.4 kB / 496.5 MB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.4223, allocations: 59.39 kB / 496.6 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.4224, allocations: 44.3 kB / 496.6 MB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4224, allocations: 41.19 kB / 496.7 MB, free: 6.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.4224, allocations: 0 / 496.7 MB, free: 6.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002711/0.4251, allocations: 1.143 MB / 497.8 MB, free: 5.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.4252, allocations: 135.5 kB / 498 MB, free: 5.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.4256, allocations: 0.6838 MB / 498.6 MB, free: 5.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4256, allocations: 39.23 kB / 498.7 MB, free: 5.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.4258, allocations: 0.5336 MB / 499.2 MB, free: 4.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.4258, allocations: 137.5 kB / 499.3 MB, free: 4.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.426, allocations: 211.4 kB / 499.6 MB, free: 4.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.4261, allocations: 403.1 kB / 499.9 MB, free: 4.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.4262, allocations: 80.39 kB / 0.4883 GB, free: 4.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.4264, allocations: 0.7851 MB / 0.4891 GB, free: 3.277 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.4269, allocations: 0.8867 MB / 0.4899 GB, free: 2.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4269, allocations: 9.688 kB / 0.4899 GB, free: 2.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0006688/0.4276, allocations: 0.733 MB / 0.4907 GB, free: 2.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4276, allocations: 13.97 kB / 0.4907 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.4276, allocations: 34.52 kB / 0.4907 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/0.4281, allocations: 219.8 kB / 0.4909 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.4284, allocations: 216.1 kB / 0.4911 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003476/0.4288, allocations: 0.6916 MB / 0.4918 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.4291, allocations: 49.16 kB / 0.4918 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.4292, allocations: 64.08 kB / 0.4919 GB, free: 1.363 MB / 410.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.0001433/0.4293, allocations: 196 kB / 0.4921 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.4294, allocations: 68.52 kB / 0.4922 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.4297, allocations: 314.3 kB / 0.4925 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4297, allocations: 5.5 kB / 0.4925 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4297, allocations: 0 / 0.4925 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4297, allocations: 0 / 0.4925 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.4303, allocations: 0.6607 MB / 0.4931 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4303, allocations: 0 / 0.4931 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.4308, allocations: 169.5 kB / 0.4933 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.9e-05/0.4309, allocations: 20.33 kB / 0.4933 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4309, allocations: 10.11 kB / 0.4933 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.432, allocations: 2.415 MB / 0.4957 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.432, allocations: 0 / 0.4957 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.4323, allocations: 424.5 kB / 0.4961 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.4324, allocations: 84.53 kB / 0.4961 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.4325, allocations: 10.58 kB / 0.4962 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.4326, allocations: 9.25 kB / 0.4962 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4327, allocations: 28.67 kB / 0.4962 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.4327, allocations: 16.14 kB / 0.4962 GB, free: 13.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4329, allocations: 287.5 kB / 0.4965 GB, free: 13.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4329, allocations: 0 / 0.4965 GB, free: 13.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006787/0.4336, allocations: 348 kB / 0.4968 GB, free: 13.7 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.0007493/0.4343, allocations: 483.5 kB / 0.4973 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.4348, allocations: 442.4 kB / 0.4977 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.437e-05/0.4348, allocations: 15.66 kB / 0.4977 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.4352, allocations: 259.9 kB / 0.498 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.4359, allocations: 362.3 kB / 0.4983 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.4376, allocations: 1.348 MB / 0.4996 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4377, allocations: 215 kB / 0.4998 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003987/0.4381, allocations: 226.6 kB / 0.5 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/0.4386, allocations: 357.8 kB / 0.5004 GB, free: 11.67 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4386, allocations: 0 / 0.5004 GB, free: 11.67 MB / 426.7 MB Notification: Performance of Templates: time 0.02232/0.4609, allocations: 20.27 MB / 0.5202 GB, free: 10.13 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] 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","",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.8596782768145204]