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.00205/0.00205, allocations: 84.34 kB / 20.96 MB, free: 3.445 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.002244/0.002244, allocations: 165.3 kB / 24.26 MB, free: 144 kB / 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.516/1.516, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3695/0.3695, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.092e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3882/0.3882, allocations: 156.3 MB / 0.5211 GB, free: 8.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006577/0.3948, allocations: 5.973 MB / 0.5269 GB, free: 4.547 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.3954, allocations: 26.28 kB / 0.527 GB, free: 4.531 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009939/0.3963, allocations: 407.8 kB / 0.5274 GB, free: 4.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.3998, allocations: 1.84 MB / 0.5292 GB, free: 3.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.4032, allocations: 1.582 MB / 0.5307 GB, free: 2.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.4052, allocations: 2.268 MB / 0.5329 GB, free: 1.574 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007181/0.4059, allocations: 0.6236 MB / 0.5335 GB, free: 1.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.4088, allocations: 2.109 MB / 0.5356 GB, free: 368 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.4112, allocations: 1.604 MB / 0.5372 GB, free: 15.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.4113, allocations: 101.5 kB / 0.5372 GB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.4138, allocations: 1.191 MB / 0.5384 GB, free: 15.03 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007331/0.4145, allocations: 0.7239 MB / 0.5391 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.4152, allocations: 0.5707 MB / 0.5397 GB, free: 14.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.4189, allocations: 2.803 MB / 0.5424 GB, free: 12.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4189, allocations: 0 / 0.5424 GB, free: 12.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4189, allocations: 2.625 kB / 0.5424 GB, free: 12.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.419, allocations: 0 / 0.5424 GB, free: 12.55 MB / 426.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.003688/0.4227, allocations: 1.655 MB / 0.544 GB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.4227, allocations: 7.906 kB / 0.544 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.4245, allocations: 473.3 kB / 0.5445 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.426, allocations: 0.7386 MB / 0.5452 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.4262, allocations: 193 kB / 0.5454 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.4265, allocations: 127.8 kB / 0.5455 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003766/0.4302, allocations: 2.54 MB / 0.548 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.4303, allocations: 7.953 kB / 0.548 GB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.4304, allocations: 51.98 kB / 0.5481 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.4306, allocations: 89.95 kB / 0.5481 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/0.4339, allocations: 1.69 MB / 0.5498 GB, free: 6.332 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.01068/0.4445, allocations: 4.811 MB / 0.5545 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.4462, allocations: 0.8429 MB / 0.5553 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007885/0.447, allocations: 434.6 kB / 0.5557 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.4471, allocations: 32.48 kB / 0.5558 GB, free: 128 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.4471, allocations: 47.06 kB / 0.5558 GB, free: 72 kB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 2.334e-06/0.4471, allocations: 0 / 0.5558 GB, free: 72 kB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.01281/0.46, allocations: 4.079 MB / 0.5598 GB, free: 11.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.4601, allocations: 111.5 kB / 0.5599 GB, free: 11.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.4611, allocations: 0.7028 MB / 0.5606 GB, free: 11.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.4612, allocations: 41.7 kB / 0.5606 GB, free: 11.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.4617, allocations: 0.5505 MB / 0.5612 GB, free: 10.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.462, allocations: 269.8 kB / 0.5614 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.4625, allocations: 214.5 kB / 0.5616 GB, free: 10.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002549/0.4627, allocations: 386.8 kB / 0.562 GB, free: 9.648 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.4638, allocations: 0.5797 MB / 0.5626 GB, free: 9.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.4653, allocations: 0.9223 MB / 0.5635 GB, free: 8.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.4678, allocations: 1.454 MB / 0.5649 GB, free: 6.449 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.4678, allocations: 4 kB / 0.5649 GB, free: 6.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004134/0.4719, allocations: 1.989 MB / 0.5668 GB, free: 4.445 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.472, allocations: 12 kB / 0.5668 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.472, allocations: 12.12 kB / 0.5668 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00531/0.4773, allocations: 1.352 MB / 0.5682 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.478, allocations: 147.7 kB / 0.5683 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.4814, allocations: 1.94 MB / 0.5702 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/0.4824, allocations: 43.97 kB / 0.5702 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.4825, allocations: 63.98 kB / 0.5703 GB, free: 0.8555 MB / 442.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.0007865/0.4833, allocations: 393.4 kB / 0.5707 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.4836, allocations: 111.5 kB / 0.5708 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/0.4867, allocations: 1.473 MB / 0.5722 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.4867, allocations: 8 kB / 0.5722 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4867, allocations: 0 / 0.5722 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4867, allocations: 3.984 kB / 0.5722 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/0.4916, allocations: 2.365 MB / 0.5745 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4916, allocations: 4 kB / 0.5745 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.4936, allocations: 332.9 kB / 0.5749 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/0.4939, allocations: 68.73 kB / 0.5749 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.018e-05/0.494, allocations: 39.98 kB / 0.575 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.497, allocations: 2.781 MB / 0.5777 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.497, allocations: 0 / 0.5777 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.5006, allocations: 1.9 MB / 0.5795 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.5013, allocations: 215.4 kB / 0.5797 GB, free: 6.906 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.5015, allocations: 35.92 kB / 0.5798 GB, free: 6.871 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/0.5023, allocations: 44.11 kB / 0.5798 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.5025, allocations: 68.53 kB / 0.5799 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.5027, allocations: 63.95 kB / 0.5799 GB, free: 6.699 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009575/0.5036, allocations: 495 kB / 0.5804 GB, free: 6.223 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5036, allocations: 0 / 0.5804 GB, free: 6.223 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001633/0.5053, allocations: 483.5 kB / 0.5809 GB, free: 5.75 MB / 458.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.001957/0.5072, allocations: 0.6752 MB / 0.5815 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.5103, allocations: 1.419 MB / 0.5829 GB, free: 3.645 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5103, allocations: 4.641 kB / 0.5829 GB, free: 3.641 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.5122, allocations: 0.8428 MB / 0.5838 GB, free: 2.781 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.5145, allocations: 0.4921 MB / 0.5842 GB, free: 2.309 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.5199, allocations: 2.68 MB / 0.5869 GB, free: 15.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.521, allocations: 0.5781 MB / 0.5874 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001367/0.5224, allocations: 426.2 kB / 0.5878 GB, free: 14.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.5228, allocations: 92.48 kB / 0.5879 GB, free: 14.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5228, allocations: 0 / 0.5879 GB, free: 14.49 MB / 474.7 MB Notification: Performance of Templates: time 0.0529/0.5757, allocations: 29.91 MB / 0.6171 GB, free: 0.9844 MB / 490.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.136519644060172]