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.002328/0.002328, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002608/0.002608, allocations: 169.2 kB / 23.53 MB, free: 0.8906 MB / 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 1.365/1.365, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.216/0.216, allocations: 32.38 MB / 270 MB, free: 14.75 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 1.743e-06/1.743e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.951e-05, allocations: 2.312 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4567/0.4567, allocations: 176.9 MB / 0.5115 GB, free: 3.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.4695, allocations: 7.12 MB / 0.5185 GB, free: 12.33 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009915/0.4705, allocations: 27.75 kB / 0.5185 GB, free: 12.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.472, allocations: 393.6 kB / 0.5189 GB, free: 11.92 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006479/0.4785, allocations: 2.08 MB / 0.5209 GB, free: 9.828 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005175/0.4837, allocations: 1.747 MB / 0.5226 GB, free: 8.078 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003516/0.4872, allocations: 2.153 MB / 0.5247 GB, free: 5.918 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009807/0.4882, allocations: 0.5139 MB / 0.5252 GB, free: 5.406 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.4933, allocations: 2.173 MB / 0.5274 GB, free: 3.227 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.4966, allocations: 1.465 MB / 0.5288 GB, free: 1.758 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.4969, allocations: 76 kB / 0.5289 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.5005, allocations: 1.379 MB / 0.5302 GB, free: 308 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006555/0.5012, allocations: 478.8 kB / 0.5307 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008877/0.5021, allocations: 419.1 kB / 0.5311 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.5063, allocations: 2.365 MB / 0.5334 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5063, allocations: 0 / 0.5334 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5063, allocations: 0 / 0.5334 GB, free: 13.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.5063, allocations: 0 / 0.5334 GB, free: 13.05 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.003414/0.5097, allocations: 1.542 MB / 0.5349 GB, free: 11.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5097, allocations: 8.031 kB / 0.5349 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.5114, allocations: 418.5 kB / 0.5353 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.5128, allocations: 0.578 MB / 0.5358 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.513, allocations: 164.1 kB / 0.536 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.5132, allocations: 83.94 kB / 0.5361 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.5156, allocations: 1.724 MB / 0.5378 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5156, allocations: 0 / 0.5378 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5157, allocations: 36 kB / 0.5378 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002736/0.516, allocations: 81.27 kB / 0.5379 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.5173, allocations: 0.571 MB / 0.5384 GB, free: 7.484 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.00807/0.5254, allocations: 4.81 MB / 0.5431 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.5259, allocations: 247.2 kB / 0.5434 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.5262, allocations: 107.6 kB / 0.5435 GB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.5263, allocations: 61.94 kB / 0.5435 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.5264, allocations: 45.8 kB / 0.5436 GB, free: 2.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.5264, allocations: 4 kB / 0.5436 GB, free: 2.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.006926/0.5333, allocations: 1.593 MB / 0.5451 GB, free: 404 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.5334, allocations: 132.5 kB / 0.5453 GB, free: 240 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.5348, allocations: 0.987 MB / 0.5462 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.5348, allocations: 33.7 kB / 0.5463 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/0.5355, allocations: 0.6847 MB / 0.5469 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.5357, allocations: 146.9 kB / 0.5471 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.5361, allocations: 260.4 kB / 0.5473 GB, free: 14.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004381/0.5365, allocations: 0.6211 MB / 0.5479 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.5369, allocations: 166.5 kB / 0.5481 GB, free: 13.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5383, allocations: 1.118 MB / 0.5492 GB, free: 11.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.54, allocations: 1.273 MB / 0.5504 GB, free: 10.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.54, allocations: 11.94 kB / 0.5504 GB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002531/0.5425, allocations: 1.067 MB / 0.5515 GB, free: 9.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.5426, allocations: 16.03 kB / 0.5515 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.5426, allocations: 20 kB / 0.5515 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.5447, allocations: 267.5 kB / 0.5518 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5457, allocations: 207.6 kB / 0.552 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.5477, allocations: 1.127 MB / 0.5531 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.5489, allocations: 40 kB / 0.5531 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.5491, allocations: 71.98 kB / 0.5532 GB, free: 7.258 MB / 426.7 MB 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.000654/0.5497, allocations: 280.1 kB / 0.5534 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.55, allocations: 91.53 kB / 0.5535 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.5515, allocations: 427.1 kB / 0.5539 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5515, allocations: 8 kB / 0.5539 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.5515, allocations: 0 / 0.5539 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5515, allocations: 3.984 kB / 0.5539 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.5546, allocations: 1.098 MB / 0.555 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5546, allocations: 0 / 0.555 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.556, allocations: 175.8 kB / 0.5552 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.5562, allocations: 35.69 kB / 0.5552 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.5562, allocations: 8 kB / 0.5552 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00453/0.5608, allocations: 3.647 MB / 0.5588 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5608, allocations: 4 kB / 0.5588 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5626, allocations: 0.6522 MB / 0.5594 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.5631, allocations: 111.4 kB / 0.5595 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.5633, allocations: 4 kB / 0.5595 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.5639, allocations: 19.98 kB / 0.5596 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.564, allocations: 23.95 kB / 0.5596 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.5641, allocations: 16.12 kB / 0.5596 GB, free: 340 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009898/0.5651, allocations: 0.5263 MB / 0.5601 GB, free: 15.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5651, allocations: 0 / 0.5601 GB, free: 15.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002003/0.5671, allocations: 431.3 kB / 0.5605 GB, free: 15.39 MB / 442.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.002315/0.5694, allocations: 0.7863 MB / 0.5613 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.571, allocations: 0.6073 MB / 0.5619 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.571, allocations: 0 / 0.5619 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.572, allocations: 401.3 kB / 0.5623 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.5745, allocations: 354.9 kB / 0.5626 GB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.5784, allocations: 1.401 MB / 0.564 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.5792, allocations: 417.5 kB / 0.5644 GB, free: 11.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00133/0.5805, allocations: 269.9 kB / 0.5646 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.5808, allocations: 76.48 kB / 0.5647 GB, free: 11.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/0.5808, allocations: 0 / 0.5647 GB, free: 11.04 MB / 442.7 MB Notification: Performance of Templates: time 0.04807/0.6288, allocations: 20.59 MB / 0.5848 GB, free: 6.492 MB / 458.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.2044712650822476]