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.001371/0.001371, allocations: 91.5 kB / 21.19 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.001235/0.001235, allocations: 156.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.9422/0.9422, allocations: 177 MB / 204.8 MB, free: 5.57 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.2556/0.2556, allocations: 34.86 MB / 296.3 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.383e-06/1.383e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.673e-05, allocations: 4.984 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2836/0.2836, allocations: 149.2 MB / 0.5156 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.2875, allocations: 3.063 MB / 0.5186 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.2879, allocations: 27.34 kB / 0.5186 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.2885, allocations: 237.5 kB / 0.5189 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.2914, allocations: 1.536 MB / 0.5204 GB, free: 12.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.293, allocations: 0.9372 MB / 0.5213 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.2948, allocations: 2.227 MB / 0.5234 GB, free: 10.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.2955, allocations: 0.5147 MB / 0.5239 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.2991, allocations: 2.922 MB / 0.5268 GB, free: 9.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.2999, allocations: 0.693 MB / 0.5275 GB, free: 9.309 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.3, allocations: 74.56 kB / 0.5276 GB, free: 9.309 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3011, allocations: 0.6634 MB / 0.5282 GB, free: 9.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.3014, allocations: 479.6 kB / 0.5287 GB, free: 8.895 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.3017, allocations: 414 kB / 0.5291 GB, free: 8.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.3033, allocations: 1.459 MB / 0.5305 GB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3033, allocations: 0 / 0.5305 GB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3033, allocations: 0 / 0.5305 GB, free: 8.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3033, allocations: 0 / 0.5305 GB, free: 8.203 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.002025/0.3053, allocations: 1.467 MB / 0.5319 GB, free: 7.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3053, allocations: 11.69 kB / 0.5319 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.3064, allocations: 420.7 kB / 0.5323 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.3071, allocations: 0.5759 MB / 0.5329 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.954e-05/0.3072, allocations: 166 kB / 0.533 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.3074, allocations: 74.62 kB / 0.5331 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3085, allocations: 1.552 MB / 0.5346 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.3085, allocations: 7.891 kB / 0.5346 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.3086, allocations: 34.77 kB / 0.5347 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.806e-05/0.3087, allocations: 76.22 kB / 0.5347 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.3094, allocations: 424.2 kB / 0.5351 GB, free: 5.18 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.00366/0.3131, allocations: 4.327 MB / 0.5394 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3134, allocations: 180.4 kB / 0.5395 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3135, allocations: 70.27 kB / 0.5396 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.743e-05/0.3136, allocations: 24.48 kB / 0.5396 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.3136, allocations: 40.39 kB / 0.5397 GB, free: 1.688 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.3136, allocations: 3.984 kB / 0.5397 GB, free: 1.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003887/0.3175, allocations: 1.395 MB / 0.541 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.3175, allocations: 137.7 kB / 0.5412 GB, free: 0.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.3181, allocations: 0.8197 MB / 0.542 GB, free: 144 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3181, allocations: 32.3 kB / 0.542 GB, free: 108 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.3185, allocations: 0.661 MB / 0.5426 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.3186, allocations: 139.3 kB / 0.5428 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.3188, allocations: 242.1 kB / 0.543 GB, free: 15.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004253/0.3193, allocations: 0.5786 MB / 0.5436 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3195, allocations: 119.2 kB / 0.5437 GB, free: 14.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.3201, allocations: 1.073 MB / 0.5447 GB, free: 13.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.3211, allocations: 1.178 MB / 0.5459 GB, free: 11.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.3211, allocations: 5.219 kB / 0.5459 GB, free: 11.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001276/0.3224, allocations: 0.953 MB / 0.5468 GB, free: 11.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3224, allocations: 11.5 kB / 0.5468 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.3224, allocations: 26.67 kB / 0.5469 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/0.3232, allocations: 244.3 kB / 0.5471 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.3236, allocations: 212.5 kB / 0.5473 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006961/0.3243, allocations: 1.008 MB / 0.5483 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.3248, allocations: 43.98 kB / 0.5483 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-05/0.3249, allocations: 68 kB / 0.5484 GB, free: 10.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (115): * Single equations (assignments): 114 * 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.0002337/0.3251, allocations: 240.1 kB / 0.5486 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3252, allocations: 95.47 kB / 0.5487 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.3259, allocations: 396.8 kB / 0.5491 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3259, allocations: 4 kB / 0.5491 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3259, allocations: 0 / 0.5491 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3259, allocations: 7.922 kB / 0.5491 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.3271, allocations: 0.8835 MB / 0.55 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3271, allocations: 0 / 0.55 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.3277, allocations: 179.8 kB / 0.5501 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/0.3278, allocations: 23.7 kB / 0.5502 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.3278, allocations: 12 kB / 0.5502 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.3295, allocations: 3.552 MB / 0.5536 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3295, allocations: 3.984 kB / 0.5536 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.3302, allocations: 0.5244 MB / 0.5541 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3303, allocations: 99.44 kB / 0.5542 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.3304, allocations: 12 kB / 0.5543 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.3307, allocations: 12 kB / 0.5543 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.3307, allocations: 34.81 kB / 0.5543 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3308, allocations: 19.94 kB / 0.5543 GB, free: 3.898 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004483/0.3312, allocations: 467 kB / 0.5548 GB, free: 3.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3312, allocations: 0 / 0.5548 GB, free: 3.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001087/0.3323, allocations: 351.6 kB / 0.5551 GB, free: 3.102 MB / 426.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.0008934/0.3332, allocations: 486.4 kB / 0.5556 GB, free: 2.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006967/0.3339, allocations: 0.5047 MB / 0.5561 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3339, allocations: 4 kB / 0.5561 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.3343, allocations: 358.9 kB / 0.5564 GB, free: 1.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.3352, allocations: 351.3 kB / 0.5567 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3371, allocations: 1.36 MB / 0.5581 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.3375, allocations: 211.2 kB / 0.5583 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005479/0.3381, allocations: 342.9 kB / 0.5586 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3382, allocations: 72.48 kB / 0.5587 GB, free: 15.38 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3382, allocations: 0 / 0.5587 GB, free: 15.38 MB / 442.7 MB Notification: Performance of Templates: time 0.02239/0.3606, allocations: 20.11 MB / 0.5783 GB, free: 11.57 MB / 458.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: 3.9856550553813577]