Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001267/0.001267, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001435/0.001435, allocations: 168.6 kB / 24.82 MB, free: 9.32 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.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3245/0.3245, allocations: 34.26 MB / 296.1 MB, free: 0.6562 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.284e-05, allocations: 5.406 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3672/0.3672, allocations: 146.3 MB / 0.5125 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.371, allocations: 3.026 MB / 0.5155 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.3715, allocations: 27.88 kB / 0.5155 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.3721, allocations: 240.8 kB / 0.5158 GB, free: 15.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.3745, allocations: 1.547 MB / 0.5173 GB, free: 14.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3759, allocations: 0.9697 MB / 0.5182 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.3776, allocations: 2.35 MB / 0.5205 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000719/0.3784, allocations: 0.6328 MB / 0.5211 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003505/0.3819, allocations: 2.985 MB / 0.524 GB, free: 11.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008885/0.3828, allocations: 0.802 MB / 0.5248 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.3829, allocations: 99.28 kB / 0.5249 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.384, allocations: 0.695 MB / 0.5256 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.3844, allocations: 0.7315 MB / 0.5263 GB, free: 10.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.3848, allocations: 0.5651 MB / 0.5269 GB, free: 10.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.3867, allocations: 1.86 MB / 0.5287 GB, free: 9.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3867, allocations: 6.375 kB / 0.5287 GB, free: 9.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3867, allocations: 3.938 kB / 0.5287 GB, free: 9.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.3868, allocations: 0 / 0.5287 GB, free: 9.547 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002035/0.3888, allocations: 1.73 MB / 0.5304 GB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3888, allocations: 8.531 kB / 0.5304 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008964/0.3897, allocations: 437.8 kB / 0.5308 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.3904, allocations: 0.6495 MB / 0.5314 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.3905, allocations: 187.5 kB / 0.5316 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.3907, allocations: 122.2 kB / 0.5317 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3917, allocations: 1.708 MB / 0.5334 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.3917, allocations: 6.859 kB / 0.5334 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.3918, allocations: 46.7 kB / 0.5335 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-05/0.3919, allocations: 96.84 kB / 0.5335 GB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.3925, allocations: 475.5 kB / 0.534 GB, free: 6.297 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.003875/0.3964, allocations: 4.46 MB / 0.5384 GB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.3968, allocations: 361 kB / 0.5387 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3969, allocations: 148.9 kB / 0.5388 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.397, allocations: 39.17 kB / 0.5389 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.397, allocations: 50.17 kB / 0.5389 GB, free: 2.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.883e-06/0.397, allocations: 0 / 0.5389 GB, free: 2.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004048/0.401, allocations: 2.27 MB / 0.5411 GB, free: 1.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.4011, allocations: 112 kB / 0.5413 GB, free: 1.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.4014, allocations: 0.6385 MB / 0.5419 GB, free: 1.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.4015, allocations: 43.55 kB / 0.5419 GB, free: 1.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.4017, allocations: 0.6167 MB / 0.5425 GB, free: 500 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4018, allocations: 281.4 kB / 0.5428 GB, free: 252 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.402, allocations: 228.8 kB / 0.543 GB, free: 112 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4022, allocations: 0.5784 MB / 0.5436 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.4024, allocations: 161.5 kB / 0.5437 GB, free: 15.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.4028, allocations: 0.6398 MB / 0.5444 GB, free: 14.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.4035, allocations: 0.8082 MB / 0.5451 GB, free: 13.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4035, allocations: 0 / 0.5451 GB, free: 13.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001111/0.4046, allocations: 0.9653 MB / 0.5461 GB, free: 12.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4046, allocations: 10.5 kB / 0.5461 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4046, allocations: 11.98 kB / 0.5461 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.4067, allocations: 1.029 MB / 0.5471 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.407, allocations: 147.8 kB / 0.5473 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.4084, allocations: 1.32 MB / 0.5485 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.4088, allocations: 32 kB / 0.5486 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.4088, allocations: 67.91 kB / 0.5486 GB, free: 10.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (85): * Single equations (assignments): 84 * 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.0002637/0.4091, allocations: 223.4 kB / 0.5488 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.4092, allocations: 107.5 kB / 0.549 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009774/0.4102, allocations: 0.8285 MB / 0.5498 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4102, allocations: 8 kB / 0.5498 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4102, allocations: 3.375 kB / 0.5498 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4102, allocations: 3.984 kB / 0.5498 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.412, allocations: 1.446 MB / 0.5512 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.412, allocations: 0 / 0.5512 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/0.4128, allocations: 287.7 kB / 0.5515 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.4129, allocations: 39.59 kB / 0.5515 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.413, allocations: 39.97 kB / 0.5515 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.4145, allocations: 3.548 MB / 0.555 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4145, allocations: 0 / 0.555 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.4158, allocations: 0.9576 MB / 0.5559 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.4161, allocations: 183.3 kB / 0.5561 GB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.4162, allocations: 27.12 kB / 0.5561 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.4165, allocations: 44 kB / 0.5562 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4166, allocations: 64.47 kB / 0.5562 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/0.4167, allocations: 55.95 kB / 0.5563 GB, free: 2.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.4169, allocations: 386.9 kB / 0.5567 GB, free: 1.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4169, allocations: 3.938 kB / 0.5567 GB, free: 1.789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009217/0.4179, allocations: 451.6 kB / 0.5571 GB, free: 1.348 MB / 426.7 MB 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.0008784/0.4187, allocations: 0.5227 MB / 0.5576 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.4197, allocations: 0.6895 MB / 0.5583 GB, free: 132 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4197, allocations: 6.078 kB / 0.5583 GB, free: 124 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.4203, allocations: 0.5296 MB / 0.5588 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.4214, allocations: 491.8 kB / 0.5593 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.4244, allocations: 2.282 MB / 0.5615 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.4246, allocations: 281.3 kB / 0.5618 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005869/0.4252, allocations: 255 kB / 0.562 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.4266, allocations: 0.6186 MB / 0.5626 GB, free: 11.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4266, allocations: 0 / 0.5626 GB, free: 11.63 MB / 442.7 MB Notification: Performance of Templates: time 0.0341/0.4607, allocations: 31.7 MB / 0.5936 GB, free: 12.29 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.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: 4.73657986568287]