Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 162.3 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.061/1.061, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2833/0.2833, allocations: 34.87 MB / 296.6 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.02e-05, allocations: 2.312 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3907/0.3907, allocations: 173.9 MB / 0.5397 GB, free: 14.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.3978, allocations: 6.64 MB / 0.5462 GB, free: 10.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008899/0.3987, allocations: 33.69 kB / 0.5463 GB, free: 10.51 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.3999, allocations: 400.4 kB / 0.5466 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.404, allocations: 1.819 MB / 0.5484 GB, free: 9.348 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.4074, allocations: 1.55 MB / 0.5499 GB, free: 8.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.4103, allocations: 2.148 MB / 0.552 GB, free: 7.008 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00095/0.4113, allocations: 0.5117 MB / 0.5525 GB, free: 6.641 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.4156, allocations: 2.048 MB / 0.5545 GB, free: 5.406 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.4181, allocations: 1.493 MB / 0.556 GB, free: 4.133 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.4183, allocations: 72 kB / 0.5561 GB, free: 4.062 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.4209, allocations: 1.165 MB / 0.5572 GB, free: 2.891 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.4214, allocations: 482.8 kB / 0.5577 GB, free: 2.418 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000548/0.4219, allocations: 419.1 kB / 0.5581 GB, free: 2.008 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.4247, allocations: 1.761 MB / 0.5598 GB, free: 248 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4247, allocations: 0 / 0.5598 GB, free: 248 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4247, allocations: 0 / 0.5598 GB, free: 248 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4247, allocations: 4 kB / 0.5598 GB, free: 244 kB / 426.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.002187/0.4269, allocations: 1.511 MB / 0.5613 GB, free: 14.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4269, allocations: 8.031 kB / 0.5613 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.428, allocations: 413.7 kB / 0.5617 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.4287, allocations: 0.578 MB / 0.5622 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.4288, allocations: 164.1 kB / 0.5624 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.4289, allocations: 87.92 kB / 0.5625 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4301, allocations: 1.563 MB / 0.564 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4302, allocations: 11.94 kB / 0.564 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.4302, allocations: 31.98 kB / 0.564 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.174e-05/0.4303, allocations: 81.27 kB / 0.5641 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.431, allocations: 419.8 kB / 0.5645 GB, free: 11.04 MB / 442.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.003806/0.4348, allocations: 4.353 MB / 0.5688 GB, free: 6.551 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.4351, allocations: 167.1 kB / 0.5689 GB, free: 6.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4352, allocations: 78.45 kB / 0.569 GB, free: 6.297 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.4353, allocations: 23.92 kB / 0.569 GB, free: 6.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4353, allocations: 41.39 kB / 0.5691 GB, free: 6.223 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.524e-06/0.4353, allocations: 0 / 0.5691 GB, free: 6.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.003489/0.4388, allocations: 1.411 MB / 0.5704 GB, free: 4.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.4388, allocations: 136.5 kB / 0.5706 GB, free: 4.586 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/0.4394, allocations: 0.8112 MB / 0.5714 GB, free: 3.762 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.4395, allocations: 29.7 kB / 0.5714 GB, free: 3.727 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.4398, allocations: 0.6495 MB / 0.572 GB, free: 3.066 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.4399, allocations: 139 kB / 0.5722 GB, free: 2.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.4401, allocations: 228.4 kB / 0.5724 GB, free: 2.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4402, allocations: 0.5781 MB / 0.5729 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4404, allocations: 114.5 kB / 0.573 GB, free: 2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.441, allocations: 1.044 MB / 0.5741 GB, free: 0.543 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.4418, allocations: 1.15 MB / 0.5752 GB, free: 15.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.4418, allocations: 8 kB / 0.5752 GB, free: 15.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001047/0.4428, allocations: 0.9268 MB / 0.5761 GB, free: 14.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4428, allocations: 16 kB / 0.5761 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.4429, allocations: 24.09 kB / 0.5761 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.4435, allocations: 244.3 kB / 0.5764 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.4439, allocations: 203.7 kB / 0.5766 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006484/0.4445, allocations: 1.005 MB / 0.5775 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.4449, allocations: 43.98 kB / 0.5776 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.445, allocations: 68 kB / 0.5777 GB, free: 12.45 MB / 458.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.0002175/0.4452, allocations: 240.1 kB / 0.5779 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4453, allocations: 95.48 kB / 0.578 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.4458, allocations: 387.6 kB / 0.5783 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4458, allocations: 4 kB / 0.5783 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4458, allocations: 0 / 0.5783 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4458, allocations: 3.984 kB / 0.5784 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.4469, allocations: 0.9029 MB / 0.5792 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4469, allocations: 4 kB / 0.5792 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.4474, allocations: 179.8 kB / 0.5794 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.712e-05/0.4474, allocations: 19.67 kB / 0.5794 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.4475, allocations: 8.875 kB / 0.5794 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.449, allocations: 3.559 MB / 0.5829 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4491, allocations: 4 kB / 0.5829 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.4497, allocations: 0.5167 MB / 0.5834 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.4499, allocations: 115.4 kB / 0.5835 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-05/0.4499, allocations: 11.88 kB / 0.5835 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.4501, allocations: 15.98 kB / 0.5836 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.4502, allocations: 23.95 kB / 0.5836 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.4502, allocations: 23.92 kB / 0.5836 GB, free: 6.016 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004096/0.4506, allocations: 450.9 kB / 0.584 GB, free: 5.578 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4506, allocations: 0 / 0.584 GB, free: 5.578 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001106/0.4517, allocations: 383.5 kB / 0.5844 GB, free: 5.203 MB / 458.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.001146/0.4529, allocations: 0.6374 MB / 0.585 GB, free: 4.559 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.4539, allocations: 0.4932 MB / 0.5855 GB, free: 4.066 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4539, allocations: 0 / 0.5855 GB, free: 4.066 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.4545, allocations: 362.7 kB / 0.5858 GB, free: 3.691 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.4554, allocations: 353 kB / 0.5862 GB, free: 3.371 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.4576, allocations: 1.358 MB / 0.5875 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.4578, allocations: 211.2 kB / 0.5877 GB, free: 1.742 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006633/0.4584, allocations: 356.9 kB / 0.5881 GB, free: 1.395 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.4586, allocations: 76.48 kB / 0.5881 GB, free: 1.32 MB / 458.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4586, allocations: 0 / 0.5881 GB, free: 1.32 MB / 458.7 MB Notification: Performance of Templates: time 0.02381/0.4824, allocations: 19.48 MB / 0.6072 GB, free: 14.13 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.585614324081689]