Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.001037/0.001037, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009546/0.0009546, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9417/0.9417, allocations: 177 MB / 204.8 MB, free: 5.559 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.2879/0.2879, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.579e-05, allocations: 3.016 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3067/0.3067, allocations: 149.1 MB / 0.5155 GB, free: 15.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.3102, allocations: 3.046 MB / 0.5185 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.3107, allocations: 31.5 kB / 0.5185 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.3113, allocations: 242.5 kB / 0.5187 GB, free: 13.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.3139, allocations: 1.548 MB / 0.5203 GB, free: 12.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.3155, allocations: 0.9796 MB / 0.5212 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.3171, allocations: 2.34 MB / 0.5235 GB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.3179, allocations: 0.6289 MB / 0.5241 GB, free: 10.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.321, allocations: 2.984 MB / 0.527 GB, free: 9.367 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008506/0.3218, allocations: 0.8093 MB / 0.5278 GB, free: 9.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.322, allocations: 97.56 kB / 0.5279 GB, free: 9.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.323, allocations: 0.6906 MB / 0.5286 GB, free: 8.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004603/0.3235, allocations: 0.7325 MB / 0.5293 GB, free: 8.594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.324, allocations: 0.5625 MB / 0.5298 GB, free: 8.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.3259, allocations: 1.864 MB / 0.5317 GB, free: 7.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3259, allocations: 3.938 kB / 0.5317 GB, free: 7.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3259, allocations: 4 kB / 0.5317 GB, free: 7.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.3259, allocations: 2.406 kB / 0.5317 GB, free: 7.672 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.002257/0.3281, allocations: 1.739 MB / 0.5334 GB, free: 6.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3282, allocations: 8.938 kB / 0.5334 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.3292, allocations: 465.4 kB / 0.5338 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.33, allocations: 0.6999 MB / 0.5345 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3301, allocations: 191.8 kB / 0.5347 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.3303, allocations: 113.7 kB / 0.5348 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.3316, allocations: 1.809 MB / 0.5366 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.3316, allocations: 6.703 kB / 0.5366 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.821e-05/0.3317, allocations: 47.89 kB / 0.5366 GB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/0.3318, allocations: 98.48 kB / 0.5367 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.3328, allocations: 0.5931 MB / 0.5373 GB, free: 4.348 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.004229/0.337, allocations: 4.719 MB / 0.5419 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.3375, allocations: 393 kB / 0.5423 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.3377, allocations: 182.6 kB / 0.5425 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.3378, allocations: 31.05 kB / 0.5425 GB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3378, allocations: 48.2 kB / 0.5425 GB, free: 460 kB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.874e-06/0.3378, allocations: 0 / 0.5425 GB, free: 460 kB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.00509/0.3429, allocations: 2.588 MB / 0.5451 GB, free: 14.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3429, allocations: 111.5 kB / 0.5452 GB, free: 14.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.3435, allocations: 0.6593 MB / 0.5458 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.3435, allocations: 41.7 kB / 0.5458 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.3438, allocations: 0.6156 MB / 0.5464 GB, free: 13.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.344, allocations: 273.8 kB / 0.5467 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.3442, allocations: 224.5 kB / 0.5469 GB, free: 12.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3444, allocations: 0.5664 MB / 0.5475 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.3447, allocations: 206.5 kB / 0.5477 GB, free: 11.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.3452, allocations: 0.6837 MB / 0.5483 GB, free: 11.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.3461, allocations: 0.8843 MB / 0.5492 GB, free: 10.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.3461, allocations: 7.938 kB / 0.5492 GB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001401/0.3475, allocations: 1.078 MB / 0.5503 GB, free: 8.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3476, allocations: 12 kB / 0.5503 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3476, allocations: 8 kB / 0.5503 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.3499, allocations: 1.098 MB / 0.5514 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.3502, allocations: 151.8 kB / 0.5515 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.3515, allocations: 1.355 MB / 0.5528 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.3519, allocations: 47.91 kB / 0.5529 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.851e-05/0.352, allocations: 67.98 kB / 0.5529 GB, free: 6.148 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.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 (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.0003717/0.3524, allocations: 224.3 kB / 0.5531 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3525, allocations: 107.5 kB / 0.5533 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.3537, allocations: 0.8949 MB / 0.5541 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3537, allocations: 8 kB / 0.5541 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3537, allocations: 4 kB / 0.5541 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3537, allocations: 3.984 kB / 0.5541 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.3558, allocations: 1.718 MB / 0.5558 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3558, allocations: 0 / 0.5558 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/0.3566, allocations: 319.7 kB / 0.5561 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.3567, allocations: 35.64 kB / 0.5562 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.3568, allocations: 39.97 kB / 0.5562 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.3583, allocations: 3.593 MB / 0.5597 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3583, allocations: 4 kB / 0.5597 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3595, allocations: 1.067 MB / 0.5607 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.3598, allocations: 199.4 kB / 0.5609 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.3599, allocations: 35.98 kB / 0.561 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.3603, allocations: 47.95 kB / 0.561 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3604, allocations: 60.55 kB / 0.5611 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-05/0.3605, allocations: 63.94 kB / 0.5611 GB, free: 13.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003316/0.3608, allocations: 418.9 kB / 0.5615 GB, free: 12.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3608, allocations: 0 / 0.5615 GB, free: 12.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009865/0.3618, allocations: 447.6 kB / 0.562 GB, free: 12.55 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.0009302/0.3627, allocations: 0.5251 MB / 0.5625 GB, free: 12.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.3639, allocations: 0.7652 MB / 0.5632 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3639, allocations: 6.141 kB / 0.5632 GB, free: 11.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.3647, allocations: 0.5804 MB / 0.5638 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3659, allocations: 498.7 kB / 0.5643 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.3692, allocations: 2.287 MB / 0.5665 GB, free: 7.863 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3694, allocations: 285.2 kB / 0.5668 GB, free: 7.562 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007298/0.3702, allocations: 366.8 kB / 0.5671 GB, free: 7.199 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.3704, allocations: 96.47 kB / 0.5672 GB, free: 7.105 MB / 442.7 MB Notification: Performance of SimCode: time 1.893e-06/0.3704, allocations: 0 / 0.5672 GB, free: 7.105 MB / 442.7 MB Notification: Performance of Templates: time 0.0318/0.4022, allocations: 31.42 MB / 0.5979 GB, free: 7.984 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.48455584095791]