Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002102/0.002102, allocations: 91.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.002006/0.002006, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.357/1.357, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.2168/0.2168, allocations: 32.38 MB / 270 MB, free: 14.77 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.483e-05/3.695e-05, allocations: 2.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4345/0.4345, allocations: 176.7 MB / 0.5113 GB, free: 3.758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.4468, allocations: 7.083 MB / 0.5183 GB, free: 12.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/0.4476, allocations: 35.69 kB / 0.5183 GB, free: 12.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.4489, allocations: 413.5 kB / 0.5187 GB, free: 12.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.4551, allocations: 2.091 MB / 0.5207 GB, free: 10.11 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.4603, allocations: 1.782 MB / 0.5225 GB, free: 8.328 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.4638, allocations: 2.274 MB / 0.5247 GB, free: 6.043 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.4651, allocations: 0.6302 MB / 0.5253 GB, free: 5.418 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.4705, allocations: 2.236 MB / 0.5275 GB, free: 3.176 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.474, allocations: 1.578 MB / 0.529 GB, free: 1.594 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.4744, allocations: 100 kB / 0.5291 GB, free: 1.496 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/0.4783, allocations: 1.398 MB / 0.5305 GB, free: 100 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.4794, allocations: 0.7367 MB / 0.5312 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.4806, allocations: 0.5693 MB / 0.5318 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005897/0.4865, allocations: 2.961 MB / 0.5347 GB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4865, allocations: 0 / 0.5347 GB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4865, allocations: 0 / 0.5347 GB, free: 11.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.344e-05/0.4865, allocations: 0 / 0.5347 GB, free: 11.82 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.004357/0.4909, allocations: 1.827 MB / 0.5364 GB, free: 9.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4909, allocations: 8.031 kB / 0.5364 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.4929, allocations: 466.5 kB / 0.5369 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.4947, allocations: 0.7142 MB / 0.5376 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.4949, allocations: 184.8 kB / 0.5378 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.4952, allocations: 123.9 kB / 0.5379 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.4984, allocations: 2.014 MB / 0.5399 GB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.4984, allocations: 11.94 kB / 0.5399 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.4986, allocations: 40 kB / 0.5399 GB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.4987, allocations: 93.95 kB / 0.54 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.5007, allocations: 0.8275 MB / 0.5408 GB, free: 5.16 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.01142/0.5121, allocations: 5.437 MB / 0.5461 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.5132, allocations: 482.8 kB / 0.5466 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.5137, allocations: 220.9 kB / 0.5468 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.5139, allocations: 70.44 kB / 0.5468 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.514, allocations: 49.89 kB / 0.5469 GB, free: 14.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 2.885e-06/0.514, allocations: 0 / 0.5469 GB, free: 14.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.01109/0.5251, allocations: 2.862 MB / 0.5497 GB, free: 11.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.5251, allocations: 115.5 kB / 0.5498 GB, free: 11.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.5264, allocations: 0.7648 MB / 0.5505 GB, free: 10.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.5266, allocations: 45.7 kB / 0.5506 GB, free: 10.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.5272, allocations: 0.6314 MB / 0.5512 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.5276, allocations: 293.7 kB / 0.5515 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.5281, allocations: 244.2 kB / 0.5517 GB, free: 9.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004781/0.5286, allocations: 0.6094 MB / 0.5523 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007069/0.5293, allocations: 269.9 kB / 0.5526 GB, free: 8.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.5305, allocations: 0.7411 MB / 0.5533 GB, free: 7.891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.5325, allocations: 1.034 MB / 0.5543 GB, free: 6.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.5325, allocations: 0 / 0.5543 GB, free: 6.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002977/0.5355, allocations: 1.231 MB / 0.5555 GB, free: 5.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.5355, allocations: 15.94 kB / 0.5555 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.5356, allocations: 8 kB / 0.5555 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004999/0.5406, allocations: 1.131 MB / 0.5566 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.5413, allocations: 139.8 kB / 0.5568 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.5445, allocations: 1.536 MB / 0.5583 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/0.5455, allocations: 43.23 kB / 0.5583 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.5457, allocations: 71.98 kB / 0.5584 GB, free: 2.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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.0006296/0.5463, allocations: 272.2 kB / 0.5586 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.5467, allocations: 107.5 kB / 0.5587 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.5491, allocations: 0.8946 MB / 0.5596 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5491, allocations: 11.94 kB / 0.5596 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.5491, allocations: 0 / 0.5596 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.5491, allocations: 7.984 kB / 0.5596 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005/0.5541, allocations: 1.99 MB / 0.5616 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5541, allocations: 4 kB / 0.5616 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/0.5561, allocations: 315.7 kB / 0.5619 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.5564, allocations: 47.56 kB / 0.5619 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.5565, allocations: 39.97 kB / 0.562 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003817/0.5603, allocations: 3.703 MB / 0.5656 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5603, allocations: 0 / 0.5656 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.5632, allocations: 1.258 MB / 0.5668 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/0.5641, allocations: 203.4 kB / 0.567 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.5643, allocations: 31.98 kB / 0.567 GB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.5655, allocations: 47.89 kB / 0.5671 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.5657, allocations: 64.53 kB / 0.5671 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.5659, allocations: 60.77 kB / 0.5672 GB, free: 9.117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008185/0.5667, allocations: 483 kB / 0.5677 GB, free: 8.652 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5667, allocations: 0 / 0.5677 GB, free: 8.652 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002115/0.5688, allocations: 0.5111 MB / 0.5682 GB, free: 8.141 MB / 442.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.002866/0.5717, allocations: 0.8175 MB / 0.569 GB, free: 7.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.5744, allocations: 0.8941 MB / 0.5698 GB, free: 6.426 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.5744, allocations: 4.656 kB / 0.5698 GB, free: 6.422 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.5762, allocations: 0.6362 MB / 0.5705 GB, free: 5.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.5795, allocations: 498.9 kB / 0.5709 GB, free: 5.277 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.5867, allocations: 2.347 MB / 0.5732 GB, free: 2.895 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009598/0.5876, allocations: 0.5351 MB / 0.5737 GB, free: 2.332 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001441/0.5891, allocations: 298.7 kB / 0.574 GB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.5895, allocations: 92.48 kB / 0.5741 GB, free: 1.945 MB / 442.7 MB Notification: Performance of SimCode: time 1.754e-06/0.5895, allocations: 4 kB / 0.5741 GB, free: 1.941 MB / 442.7 MB Notification: Performance of Templates: time 0.06102/0.6505, allocations: 31.04 MB / 0.6044 GB, free: 2.918 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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: 7.463498517055996]