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.001336/0.001336, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001516/0.001516, allocations: 166.6 kB / 24.82 MB, free: 9.266 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 0.9785/0.9785, allocations: 177 MB / 205.1 MB, free: 5.473 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.2934/0.2934, allocations: 34.87 MB / 296.6 MB, free: 480 kB / 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.392e-06/1.392e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.542e-05, allocations: 3.297 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2981/0.2981, allocations: 146.3 MB / 0.5133 GB, free: 16.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.3023, allocations: 3.036 MB / 0.5162 GB, free: 14.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006215/0.3029, allocations: 27.22 kB / 0.5162 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.3036, allocations: 240.7 kB / 0.5165 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.3063, allocations: 1.554 MB / 0.518 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3079, allocations: 0.9635 MB / 0.5189 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.3099, allocations: 2.34 MB / 0.5212 GB, free: 12.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.3107, allocations: 0.6378 MB / 0.5218 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.3144, allocations: 2.983 MB / 0.5248 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.3155, allocations: 0.8072 MB / 0.5255 GB, free: 10.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.3157, allocations: 99.28 kB / 0.5256 GB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.3169, allocations: 0.6895 MB / 0.5263 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.3174, allocations: 0.7314 MB / 0.527 GB, free: 9.965 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006438/0.3181, allocations: 0.5701 MB / 0.5276 GB, free: 9.754 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.3201, allocations: 1.861 MB / 0.5294 GB, free: 9.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3201, allocations: 0 / 0.5294 GB, free: 9.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3201, allocations: 3.938 kB / 0.5294 GB, free: 9.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.754e-05/0.3202, allocations: 0 / 0.5294 GB, free: 9.043 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.002319/0.3225, allocations: 1.732 MB / 0.5311 GB, free: 7.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3225, allocations: 10.91 kB / 0.5311 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.3235, allocations: 436.9 kB / 0.5315 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.3242, allocations: 0.6501 MB / 0.5322 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.3243, allocations: 189.8 kB / 0.5323 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3244, allocations: 112.7 kB / 0.5324 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3254, allocations: 1.715 MB / 0.5341 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3254, allocations: 6.609 kB / 0.5341 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.3255, allocations: 50.36 kB / 0.5342 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.847e-05/0.3256, allocations: 95.55 kB / 0.5343 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005651/0.3261, allocations: 475.3 kB / 0.5347 GB, free: 5.789 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.003759/0.3299, allocations: 4.456 MB / 0.5391 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.3303, allocations: 363.3 kB / 0.5394 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3304, allocations: 147.6 kB / 0.5396 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.3305, allocations: 37.52 kB / 0.5396 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3305, allocations: 55.2 kB / 0.5396 GB, free: 2.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.3305, allocations: 0 / 0.5396 GB, free: 2.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004156/0.3347, allocations: 2.266 MB / 0.5419 GB, free: 1.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.3347, allocations: 112 kB / 0.542 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.3351, allocations: 0.6348 MB / 0.5426 GB, free: 488 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.3351, allocations: 50.61 kB / 0.5426 GB, free: 440 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.3353, allocations: 0.6201 MB / 0.5432 GB, free: 15.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.3355, allocations: 285 kB / 0.5435 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.3357, allocations: 222.8 kB / 0.5437 GB, free: 15.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3359, allocations: 0.5813 MB / 0.5443 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.3362, allocations: 158.8 kB / 0.5444 GB, free: 14.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.3366, allocations: 0.6425 MB / 0.5451 GB, free: 14.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.3373, allocations: 0.8022 MB / 0.5459 GB, free: 13.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3373, allocations: 0 / 0.5459 GB, free: 13.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001181/0.3385, allocations: 0.9693 MB / 0.5468 GB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3385, allocations: 8 kB / 0.5468 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3385, allocations: 8 kB / 0.5468 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.3406, allocations: 1.035 MB / 0.5478 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.341, allocations: 143.8 kB / 0.548 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.3424, allocations: 1.324 MB / 0.5493 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.3428, allocations: 32 kB / 0.5493 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.3429, allocations: 59.98 kB / 0.5493 GB, free: 9.508 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.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[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.0003837/0.3433, allocations: 224.3 kB / 0.5496 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.3434, allocations: 107.5 kB / 0.5497 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/0.3444, allocations: 0.831 MB / 0.5505 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3444, allocations: 8 kB / 0.5505 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3444, allocations: 0 / 0.5505 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3444, allocations: 3.984 kB / 0.5505 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.3462, allocations: 1.449 MB / 0.5519 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3462, allocations: 0 / 0.5519 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/0.347, allocations: 287.7 kB / 0.5522 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.3472, allocations: 43.59 kB / 0.5522 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.3472, allocations: 35.97 kB / 0.5523 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.349, allocations: 3.547 MB / 0.5557 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.349, allocations: 192 / 0.5557 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.35, allocations: 0.9615 MB / 0.5567 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.3503, allocations: 179.4 kB / 0.5568 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.3503, allocations: 23.98 kB / 0.5568 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.3507, allocations: 43.97 kB / 0.5569 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3508, allocations: 68.42 kB / 0.557 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.3509, allocations: 55.94 kB / 0.557 GB, free: 1.332 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002539/0.3512, allocations: 386.9 kB / 0.5574 GB, free: 0.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3512, allocations: 3.938 kB / 0.5574 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001069/0.3522, allocations: 451.6 kB / 0.5578 GB, free: 0.5117 MB / 426.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.0009084/0.3531, allocations: 0.5157 MB / 0.5583 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.3541, allocations: 0.6891 MB / 0.559 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.3541, allocations: 4.891 kB / 0.559 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.3547, allocations: 0.5269 MB / 0.5595 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3558, allocations: 498.1 kB / 0.56 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.3589, allocations: 2.269 MB / 0.5622 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.3591, allocations: 281.3 kB / 0.5625 GB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008178/0.3599, allocations: 259 kB / 0.5627 GB, free: 11.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.3609, allocations: 0.6186 MB / 0.5633 GB, free: 10.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3609, allocations: 0 / 0.5633 GB, free: 10.81 MB / 442.7 MB Notification: Performance of Templates: time 0.03262/0.3935, allocations: 31.71 MB / 0.5943 GB, free: 11.43 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.426715798676014]