Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001028/0.001028, allocations: 77 kB / 20.65 MB, free: 3.848 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.001025/0.001025, allocations: 177 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9477/0.9477, allocations: 158.6 MB / 185.9 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1463/0.1463, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.408e-05, allocations: 8.219 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3126/0.3126, allocations: 144.6 MB / 492.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.3165, allocations: 3.04 MB / 495.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.3174, allocations: 37.44 kB / 495.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.3182, allocations: 239.3 kB / 496.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.3214, allocations: 1.604 MB / 497.7 MB, free: 7.977 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.3235, allocations: 0.9785 MB / 498.7 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.3261, allocations: 2.341 MB / 0.4893 GB, free: 6.863 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008779/0.327, allocations: 0.6418 MB / 0.4899 GB, free: 6.438 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.3306, allocations: 2.895 MB / 0.4927 GB, free: 4.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.3317, allocations: 0.8044 MB / 0.4935 GB, free: 4.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.3319, allocations: 99 kB / 0.4936 GB, free: 4.582 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3332, allocations: 0.715 MB / 0.4943 GB, free: 4.301 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.3336, allocations: 0.735 MB / 0.495 GB, free: 3.855 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.3341, allocations: 0.5712 MB / 0.4956 GB, free: 3.406 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.3364, allocations: 1.877 MB / 0.4974 GB, free: 1.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3364, allocations: 4 kB / 0.4974 GB, free: 1.625 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3364, allocations: 4 kB / 0.4974 GB, free: 1.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.154e-05/0.3364, allocations: 0 / 0.4974 GB, free: 1.621 MB / 362.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.002154/0.3386, allocations: 1.681 MB / 0.4991 GB, free: 15.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3386, allocations: 8.031 kB / 0.4991 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.3396, allocations: 428.7 kB / 0.4995 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.3406, allocations: 0.6624 MB / 0.5001 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.3407, allocations: 190.8 kB / 0.5003 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.3409, allocations: 114.8 kB / 0.5004 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.3424, allocations: 1.733 MB / 0.5021 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.3424, allocations: 7.953 kB / 0.5021 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.3425, allocations: 46.66 kB / 0.5022 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.3426, allocations: 93.95 kB / 0.5023 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.3433, allocations: 469.4 kB / 0.5027 GB, free: 12 MB / 378.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.005419/0.3487, allocations: 4.499 MB / 0.5071 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.3492, allocations: 372.5 kB / 0.5075 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3494, allocations: 148.2 kB / 0.5076 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.3495, allocations: 77.12 kB / 0.5077 GB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.3495, allocations: 57.44 kB / 0.5077 GB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.958e-06/0.3495, allocations: 0 / 0.5077 GB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.004934/0.3545, allocations: 2.255 MB / 0.5099 GB, free: 4.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.3545, allocations: 115.5 kB / 0.51 GB, free: 4.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.355, allocations: 0.63 MB / 0.5107 GB, free: 3.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.3551, allocations: 45.7 kB / 0.5107 GB, free: 3.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.3554, allocations: 0.6155 MB / 0.5113 GB, free: 3.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.3556, allocations: 281.7 kB / 0.5116 GB, free: 2.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.3558, allocations: 228.4 kB / 0.5118 GB, free: 2.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.356, allocations: 0.5741 MB / 0.5123 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.3563, allocations: 162.5 kB / 0.5125 GB, free: 1.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.3567, allocations: 0.6446 MB / 0.5131 GB, free: 1.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.3574, allocations: 0.81 MB / 0.5139 GB, free: 136 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3574, allocations: 3.938 kB / 0.5139 GB, free: 132 kB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001147/0.3585, allocations: 0.9579 MB / 0.5149 GB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3586, allocations: 12 kB / 0.5149 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3586, allocations: 8 kB / 0.5149 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.3606, allocations: 1.003 MB / 0.5159 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.3609, allocations: 143.8 kB / 0.516 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.3619, allocations: 1.309 MB / 0.5173 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.3623, allocations: 35.94 kB / 0.5173 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.3624, allocations: 63.92 kB / 0.5174 GB, free: 12.55 MB / 394.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.000319/0.3627, allocations: 224.3 kB / 0.5176 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3628, allocations: 103.5 kB / 0.5177 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.3637, allocations: 0.7232 MB / 0.5184 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3637, allocations: 8 kB / 0.5184 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3637, allocations: 0 / 0.5184 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3637, allocations: 3.984 kB / 0.5184 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3655, allocations: 1.455 MB / 0.5198 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3655, allocations: 0 / 0.5198 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.3663, allocations: 291.7 kB / 0.5201 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.3664, allocations: 35.64 kB / 0.5201 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.3665, allocations: 39.97 kB / 0.5202 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.3682, allocations: 3.551 MB / 0.5236 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3682, allocations: 0 / 0.5236 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3693, allocations: 0.9694 MB / 0.5246 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.3696, allocations: 175.4 kB / 0.5248 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.3697, allocations: 31.98 kB / 0.5248 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.37, allocations: 35.97 kB / 0.5248 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3701, allocations: 64.48 kB / 0.5249 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.3702, allocations: 55.95 kB / 0.5249 GB, free: 4.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.3705, allocations: 382.9 kB / 0.5253 GB, free: 4.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3705, allocations: 0 / 0.5253 GB, free: 4.105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001252/0.3717, allocations: 455.5 kB / 0.5257 GB, free: 3.66 MB / 394.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.001279/0.373, allocations: 0.5627 MB / 0.5263 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.3743, allocations: 0.6875 MB / 0.527 GB, free: 2.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3743, allocations: 12.58 kB / 0.527 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.3751, allocations: 0.5145 MB / 0.5275 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.3765, allocations: 0.4928 MB / 0.528 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.3805, allocations: 2.264 MB / 0.5302 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3807, allocations: 293.2 kB / 0.5304 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007122/0.3815, allocations: 183.1 kB / 0.5306 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/0.3828, allocations: 0.5991 MB / 0.5312 GB, free: 13.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/0.3828, allocations: 4 kB / 0.5312 GB, free: 13.99 MB / 410.7 MB Notification: Performance of Templates: time 0.04352/0.4263, allocations: 31.88 MB / 0.5623 GB, free: 14.12 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.540660905186087]