Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001313/0.001313, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001163/0.001163, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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.9765/0.9765, allocations: 177.1 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1264/0.1264, allocations: 34.25 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.629e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.303/0.3031, allocations: 146.3 MB / 0.5133 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.3065, allocations: 3.038 MB / 0.5163 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.307, allocations: 26.78 kB / 0.5163 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.3075, allocations: 241.6 kB / 0.5165 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.31, allocations: 1.549 MB / 0.518 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.3115, allocations: 0.9749 MB / 0.519 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3136, allocations: 2.341 MB / 0.5213 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/0.3144, allocations: 0.634 MB / 0.5219 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.3179, allocations: 2.982 MB / 0.5248 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.319, allocations: 0.8047 MB / 0.5256 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.3192, allocations: 98.66 kB / 0.5257 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3203, allocations: 0.6923 MB / 0.5264 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004633/0.3207, allocations: 0.7344 MB / 0.5271 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006421/0.3214, allocations: 0.5631 MB / 0.5276 GB, free: 12.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.3232, allocations: 1.868 MB / 0.5295 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3232, allocations: 3.938 kB / 0.5295 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3232, allocations: 0 / 0.5295 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.585e-05/0.3233, allocations: 0 / 0.5295 GB, free: 12.14 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.002043/0.3253, allocations: 1.734 MB / 0.5311 GB, free: 11.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.3253, allocations: 11.25 kB / 0.5312 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.3263, allocations: 443.4 kB / 0.5316 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.327, allocations: 0.6423 MB / 0.5322 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.3271, allocations: 197.3 kB / 0.5324 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3272, allocations: 113.6 kB / 0.5325 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3282, allocations: 1.701 MB / 0.5342 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3283, allocations: 16.88 kB / 0.5342 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.3283, allocations: 46.16 kB / 0.5342 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/0.3284, allocations: 90.55 kB / 0.5343 GB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.329, allocations: 475.8 kB / 0.5348 GB, free: 8.816 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.003727/0.3327, allocations: 4.456 MB / 0.5391 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.3331, allocations: 363.2 kB / 0.5395 GB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.3333, allocations: 155.8 kB / 0.5396 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.3334, allocations: 28.98 kB / 0.5396 GB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3334, allocations: 47.8 kB / 0.5397 GB, free: 5.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.275e-06/0.3334, allocations: 0 / 0.5397 GB, free: 5.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004245/0.3376, allocations: 2.237 MB / 0.5419 GB, free: 3.992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.3377, allocations: 111.2 kB / 0.542 GB, free: 3.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.338, allocations: 0.6368 MB / 0.5426 GB, free: 3.531 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.3381, allocations: 43.36 kB / 0.5426 GB, free: 3.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3382, allocations: 0.6196 MB / 0.5432 GB, free: 2.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3384, allocations: 282.4 kB / 0.5435 GB, free: 2.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.3386, allocations: 222.3 kB / 0.5437 GB, free: 2.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.3387, allocations: 0.5758 MB / 0.5443 GB, free: 2.102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3389, allocations: 165.6 kB / 0.5444 GB, free: 2.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.3392, allocations: 0.6421 MB / 0.5451 GB, free: 1.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.3398, allocations: 0.8028 MB / 0.5459 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3398, allocations: 3.125 kB / 0.5459 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001043/0.3408, allocations: 0.9664 MB / 0.5468 GB, free: 428 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3408, allocations: 10.5 kB / 0.5468 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3408, allocations: 9.469 kB / 0.5468 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.3429, allocations: 1.037 MB / 0.5478 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.3432, allocations: 142.3 kB / 0.548 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3443, allocations: 1.314 MB / 0.5493 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.3447, allocations: 29.47 kB / 0.5493 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.3448, allocations: 67.02 kB / 0.5493 GB, free: 15.04 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.0002875/0.3451, allocations: 223.4 kB / 0.5496 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3453, allocations: 106.6 kB / 0.5497 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.3463, allocations: 0.8344 MB / 0.5505 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.3463, allocations: 12.28 kB / 0.5505 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3463, allocations: 4 kB / 0.5505 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3463, allocations: 3.984 kB / 0.5505 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3481, allocations: 1.444 MB / 0.5519 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3481, allocations: 4.031 kB / 0.5519 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/0.3489, allocations: 287.7 kB / 0.5522 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.3491, allocations: 36.3 kB / 0.5522 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.3491, allocations: 44.25 kB / 0.5523 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.3508, allocations: 3.544 MB / 0.5557 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3508, allocations: 0 / 0.5557 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3519, allocations: 0.9618 MB / 0.5567 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3521, allocations: 180.3 kB / 0.5568 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3522, allocations: 28.77 kB / 0.5569 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.3526, allocations: 36.47 kB / 0.5569 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3527, allocations: 57.67 kB / 0.557 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.3528, allocations: 63.62 kB / 0.557 GB, free: 9.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002433/0.353, allocations: 382.6 kB / 0.5574 GB, free: 8.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.353, allocations: 2.5 kB / 0.5574 GB, free: 8.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009748/0.354, allocations: 456.8 kB / 0.5578 GB, free: 8.828 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.0008881/0.3549, allocations: 0.5244 MB / 0.5583 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3561, allocations: 0.6896 MB / 0.559 GB, free: 7.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3561, allocations: 0.8906 kB / 0.559 GB, free: 7.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.3568, allocations: 0.5313 MB / 0.5595 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.358, allocations: 489.2 kB / 0.56 GB, free: 6.941 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.3609, allocations: 2.273 MB / 0.5622 GB, free: 4.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.3611, allocations: 289.2 kB / 0.5625 GB, free: 4.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005886/0.3617, allocations: 255 kB / 0.5627 GB, free: 4.094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.3628, allocations: 0.6147 MB / 0.5633 GB, free: 3.477 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3628, allocations: 0 / 0.5633 GB, free: 3.477 MB / 426.7 MB Notification: Performance of Templates: time 0.0445/0.4073, allocations: 32.14 MB / 0.5947 GB, free: 3.734 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.427278513088822]