Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009852/0.0009852, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001/0.001, allocations: 165 kB / 24.56 MB, free: 12 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 0.9786/0.9786, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2692/0.2692, allocations: 32.81 MB / 294.3 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.828e-05, allocations: 5.406 kB / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3259/0.3259, allocations: 149.1 MB / 0.5128 GB, free: 18.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.3292, allocations: 3.052 MB / 0.5158 GB, free: 16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.3296, allocations: 32.28 kB / 0.5158 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.3302, allocations: 242.2 kB / 0.5161 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.3328, allocations: 1.541 MB / 0.5176 GB, free: 15.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.3343, allocations: 0.9864 MB / 0.5185 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.336, allocations: 2.333 MB / 0.5208 GB, free: 13.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007806/0.3368, allocations: 0.636 MB / 0.5214 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.3399, allocations: 2.982 MB / 0.5244 GB, free: 12.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.3407, allocations: 0.8092 MB / 0.5251 GB, free: 11.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.3409, allocations: 97.19 kB / 0.5252 GB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/0.3418, allocations: 0.6858 MB / 0.5259 GB, free: 11.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004077/0.3422, allocations: 0.7402 MB / 0.5266 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.3427, allocations: 0.5659 MB / 0.5272 GB, free: 11.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.3443, allocations: 1.865 MB / 0.529 GB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3443, allocations: 4 kB / 0.529 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3443, allocations: 0 / 0.529 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.615e-05/0.3444, allocations: 0 / 0.529 GB, free: 10.36 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.002144/0.3465, allocations: 1.738 MB / 0.5307 GB, free: 9.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3466, allocations: 12.23 kB / 0.5307 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.3475, allocations: 467.2 kB / 0.5312 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.3482, allocations: 0.6998 MB / 0.5318 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.3483, allocations: 193.1 kB / 0.532 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3484, allocations: 119.9 kB / 0.5321 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3497, allocations: 1.805 MB / 0.5339 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.3497, allocations: 3.953 kB / 0.5339 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.802e-05/0.3498, allocations: 54.33 kB / 0.534 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-05/0.3499, allocations: 96.05 kB / 0.5341 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.3508, allocations: 0.593 MB / 0.5346 GB, free: 7.027 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.004126/0.3549, allocations: 4.709 MB / 0.5392 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.3555, allocations: 393.2 kB / 0.5396 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.3557, allocations: 177.3 kB / 0.5398 GB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-05/0.3558, allocations: 38.62 kB / 0.5398 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3558, allocations: 51.31 kB / 0.5399 GB, free: 3.383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.375e-06/0.3558, allocations: 3.344 kB / 0.5399 GB, free: 3.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004954/0.3608, allocations: 2.58 MB / 0.5424 GB, free: 2.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3608, allocations: 116.3 kB / 0.5425 GB, free: 1.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.3613, allocations: 0.6528 MB / 0.5431 GB, free: 1.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.3613, allocations: 42.89 kB / 0.5432 GB, free: 1.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3615, allocations: 0.613 MB / 0.5438 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3616, allocations: 279.3 kB / 0.544 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.3619, allocations: 218.5 kB / 0.5442 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.362, allocations: 0.5722 MB / 0.5448 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.3623, allocations: 211.7 kB / 0.545 GB, free: 15.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/0.3632, allocations: 0.6858 MB / 0.5457 GB, free: 15.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/0.3641, allocations: 0.8843 MB / 0.5465 GB, free: 14.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.3641, allocations: 7.938 kB / 0.5465 GB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001393/0.3655, allocations: 1.075 MB / 0.5476 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3655, allocations: 8 kB / 0.5476 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3655, allocations: 8 kB / 0.5476 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.3679, allocations: 1.1 MB / 0.5487 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.3682, allocations: 143.8 kB / 0.5488 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.3695, allocations: 1.355 MB / 0.5501 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.3699, allocations: 51.91 kB / 0.5502 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.37, allocations: 67.92 kB / 0.5503 GB, free: 10.18 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.0002406/0.3702, allocations: 228.3 kB / 0.5505 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.3703, allocations: 103.5 kB / 0.5506 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3715, allocations: 0.8949 MB / 0.5514 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3715, allocations: 12 kB / 0.5515 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3715, allocations: 0 / 0.5515 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3715, allocations: 3.984 kB / 0.5515 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.3738, allocations: 1.718 MB / 0.5531 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3738, allocations: 0 / 0.5531 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.3746, allocations: 315.7 kB / 0.5534 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.3747, allocations: 39.64 kB / 0.5535 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.3748, allocations: 39.97 kB / 0.5535 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.3763, allocations: 3.593 MB / 0.557 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3763, allocations: 0 / 0.557 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3775, allocations: 1.063 MB / 0.5581 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.3777, allocations: 211.4 kB / 0.5583 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.3778, allocations: 31.92 kB / 0.5583 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.3782, allocations: 47.95 kB / 0.5583 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.3783, allocations: 56.55 kB / 0.5584 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.3783, allocations: 63.95 kB / 0.5585 GB, free: 1.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003073/0.3786, allocations: 415 kB / 0.5589 GB, free: 1.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3786, allocations: 0 / 0.5589 GB, free: 1.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001086/0.3797, allocations: 447.6 kB / 0.5593 GB, free: 0.582 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.0008985/0.3806, allocations: 0.5299 MB / 0.5598 GB, free: 48 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3817, allocations: 0.7688 MB / 0.5605 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3817, allocations: 0.8906 kB / 0.5606 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.3824, allocations: 0.5884 MB / 0.5611 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3835, allocations: 494.7 kB / 0.5616 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.3865, allocations: 2.288 MB / 0.5638 GB, free: 11.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.3867, allocations: 285.3 kB / 0.5641 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006403/0.3874, allocations: 370.7 kB / 0.5645 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.3876, allocations: 96.47 kB / 0.5645 GB, free: 11.12 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3876, allocations: 0 / 0.5645 GB, free: 11.12 MB / 442.7 MB Notification: Performance of Templates: time 0.03247/0.4201, allocations: 31.42 MB / 0.5952 GB, free: 12.05 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4941095020622015]