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.001025/0.001025, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002622, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001194/0.001194, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002745, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9993/0.9993, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0954/1.095, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2834/0.2834, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02245/0.3059, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.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.222e-06/1.222e-06, allocations: 0 / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.126e-05, allocations: 4.844 kB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.316/0.316, allocations: 148.9 MB / 442.8 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004541/0.3205, allocations: 3.105 MB / 445.9 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005603/0.3211, allocations: 29.94 kB / 445.9 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.3216, allocations: 246 kB / 446.1 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.3244, allocations: 1.498 MB / 447.6 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.3259, allocations: 0.9504 MB / 448.6 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00209/0.328, allocations: 2.397 MB / 451 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/0.3287, allocations: 0.6109 MB / 451.6 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.332, allocations: 2.897 MB / 454.5 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000943/0.3329, allocations: 0.7696 MB / 455.3 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.3331, allocations: 100.2 kB / 455.4 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3344, allocations: 0.7231 MB / 456.1 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.3348, allocations: 0.6396 MB / 456.7 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.3353, allocations: 461.1 kB / 457.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.337, allocations: 1.651 MB / 458.8 MB, free: 3.051 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.337, allocations: 0 / 458.8 MB, free: 3.051 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.337, allocations: 0.9375 kB / 458.8 MB, free: 3.051 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.837e-05/0.337, allocations: 0 / 458.8 MB, free: 3.051 MB / 426.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.002581/0.3396, allocations: 1.965 MB / 460.8 MB, free: 18.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3396, allocations: 11.61 kB / 460.8 MB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008575/0.3405, allocations: 419.2 kB / 461.2 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.3412, allocations: 0.5802 MB / 461.8 MB, free: 18.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/0.3413, allocations: 200.6 kB / 462 MB, free: 17.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3414, allocations: 120 kB / 462.1 MB, free: 17.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3426, allocations: 1.677 MB / 463.8 MB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.3426, allocations: 4.172 kB / 463.8 MB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/0.3427, allocations: 47.8 kB / 463.8 MB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.3427, allocations: 96.03 kB / 463.9 MB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.3433, allocations: 447.9 kB / 464.4 MB, free: 16.76 MB / 442.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.003641/0.347, allocations: 3.559 MB / 467.9 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.3473, allocations: 377.2 kB / 468.3 MB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3474, allocations: 124.3 kB / 468.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/0.3475, allocations: 59.89 kB / 468.5 MB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3476, allocations: 45.66 kB / 468.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.044e-06/0.3476, allocations: 0 / 468.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.003717/0.3513, allocations: 2.075 MB / 470.6 MB, free: 14.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3513, allocations: 65.33 kB / 470.7 MB, free: 14.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.3516, allocations: 0.5443 MB / 471.2 MB, free: 14.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.3517, allocations: 47.83 kB / 471.2 MB, free: 14.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3518, allocations: 0.4995 MB / 471.7 MB, free: 13.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.3519, allocations: 274 kB / 472 MB, free: 13.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.3521, allocations: 187.5 kB / 472.2 MB, free: 13.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3522, allocations: 396.7 kB / 472.6 MB, free: 13.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.3524, allocations: 152.8 kB / 472.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3527, allocations: 0.4901 MB / 473.2 MB, free: 13.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.3532, allocations: 0.6757 MB / 473.9 MB, free: 12.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3532, allocations: 4.406 kB / 473.9 MB, free: 12.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0008177/0.3541, allocations: 0.7655 MB / 474.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3541, allocations: 18.28 kB / 474.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3541, allocations: 16.22 kB / 474.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.3558, allocations: 0.8976 MB / 475.6 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3561, allocations: 157.9 kB / 475.8 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008315/0.3569, allocations: 0.981 MB / 476.7 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.3573, allocations: 31.59 kB / 476.8 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.3573, allocations: 57.22 kB / 476.8 MB, free: 12.04 MB / 442.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.000266/0.3576, allocations: 185.3 kB / 477 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3577, allocations: 77.09 kB / 477.1 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007555/0.3584, allocations: 0.6949 MB / 477.8 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3584, allocations: 10.09 kB / 477.8 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3585, allocations: 0 / 477.8 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3585, allocations: 3.094 kB / 477.8 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3598, allocations: 1.275 MB / 479.1 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3598, allocations: 0.7812 kB / 479.1 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.3606, allocations: 338.3 kB / 479.4 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.3608, allocations: 154.5 kB / 479.5 MB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.7e-05/0.3609, allocations: 39.19 kB / 479.6 MB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.361, allocations: 32.86 kB / 479.6 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.3623, allocations: 2.443 MB / 482.1 MB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3623, allocations: 0 / 482.1 MB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.3631, allocations: 0.8136 MB / 482.9 MB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-05/0.3632, allocations: 30.17 kB / 482.9 MB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.3635, allocations: 34.47 kB / 482.9 MB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.3636, allocations: 64.48 kB / 483 MB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.3636, allocations: 54.81 kB / 483.1 MB, free: 8.824 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.3638, allocations: 248.9 kB / 483.3 MB, free: 8.801 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3638, allocations: 1.031 kB / 483.3 MB, free: 8.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000812/0.3646, allocations: 450.9 kB / 483.7 MB, free: 8.777 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.0007749/0.3654, allocations: 480.6 kB / 484.2 MB, free: 8.676 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.3662, allocations: 0.63 MB / 484.8 MB, free: 8.637 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.477e-05/0.3662, allocations: 19.39 kB / 484.9 MB, free: 8.629 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.3668, allocations: 466.6 kB / 485.3 MB, free: 8.496 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3678, allocations: 0.6119 MB / 485.9 MB, free: 8.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/0.3765, allocations: 2.292 MB / 488.2 MB, free: 7.555 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.3767, allocations: 289.5 kB / 488.5 MB, free: 7.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007758/0.3775, allocations: 254.8 kB / 488.7 MB, free: 7.426 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/0.3785, allocations: 0.5008 MB / 489.2 MB, free: 7.348 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3785, allocations: 0 / 489.2 MB, free: 7.348 MB / 442.7 MB Notification: Performance of Templates: time 0.03517/0.4136, allocations: 32.34 MB / 0.5094 GB, free: 216 kB / 458.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 -ignoreHideResult -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.2995734410360456]