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.0009718/0.0009718, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001084/0.001084, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9645/0.9645, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2688/0.2688, allocations: 32.81 MB / 294.6 MB, free: 1.195 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.734e-06/1.734e-06, allocations: 0 / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.837e-05, allocations: 7.672 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3229/0.3229, allocations: 148.5 MB / 471.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004467/0.3274, allocations: 3.096 MB / 474.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005719/0.3279, allocations: 26.62 kB / 474.9 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.3286, allocations: 240.9 kB / 475.1 MB, free: 12.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.3315, allocations: 1.513 MB / 476.6 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3332, allocations: 0.9579 MB / 477.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.3355, allocations: 2.339 MB / 479.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009073/0.3364, allocations: 0.6247 MB / 480.6 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.3402, allocations: 2.888 MB / 483.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3412, allocations: 0.7561 MB / 484.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.3414, allocations: 102.7 kB / 484.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.3427, allocations: 0.7193 MB / 485 MB, free: 12.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.3432, allocations: 0.7326 MB / 485.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.3439, allocations: 0.5604 MB / 486.3 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.3461, allocations: 1.876 MB / 488.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3461, allocations: 0 / 488.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3461, allocations: 0 / 488.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.196e-05/0.3462, allocations: 0 / 488.2 MB, free: 11.68 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.00227/0.3484, allocations: 1.548 MB / 489.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3485, allocations: 14.52 kB / 489.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/0.3494, allocations: 429.6 kB / 490.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.3502, allocations: 0.5828 MB / 490.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.531e-05/0.3503, allocations: 193.1 kB / 490.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.3505, allocations: 119.2 kB / 491.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3515, allocations: 1.683 MB / 492.7 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.3516, allocations: 5.203 kB / 492.7 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.3517, allocations: 48.14 kB / 492.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.3517, allocations: 92.45 kB / 492.9 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.3523, allocations: 446 kB / 493.3 MB, free: 8.883 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.003739/0.3561, allocations: 3.554 MB / 496.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.3564, allocations: 378.2 kB / 497.2 MB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3566, allocations: 121.6 kB / 497.4 MB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3567, allocations: 54.61 kB / 497.4 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3567, allocations: 49.47 kB / 497.5 MB, free: 6.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.924e-06/0.3567, allocations: 3.938 kB / 497.5 MB, free: 6.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004651/0.3614, allocations: 2.194 MB / 499.7 MB, free: 5.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.3614, allocations: 109 kB / 499.8 MB, free: 5.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.3618, allocations: 0.5468 MB / 0.4886 GB, free: 5.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.3618, allocations: 43.48 kB / 0.4886 GB, free: 5.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.362, allocations: 0.4947 MB / 0.4891 GB, free: 4.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3621, allocations: 282.4 kB / 0.4894 GB, free: 4.641 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.3623, allocations: 193.5 kB / 0.4896 GB, free: 4.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.3624, allocations: 394.6 kB / 0.4899 GB, free: 4.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.3626, allocations: 157.5 kB / 0.4901 GB, free: 4.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3629, allocations: 496.2 kB / 0.4906 GB, free: 3.727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.3635, allocations: 0.6824 MB / 0.4912 GB, free: 3.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3635, allocations: 0 / 0.4912 GB, free: 3.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0009498/0.3645, allocations: 0.7694 MB / 0.492 GB, free: 2.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3645, allocations: 7.969 kB / 0.492 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3645, allocations: 11.31 kB / 0.492 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/0.3665, allocations: 0.9718 MB / 0.4929 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.3669, allocations: 152.1 kB / 0.4931 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008797/0.3678, allocations: 0.9861 MB / 0.4941 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.3682, allocations: 33.89 kB / 0.4941 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.3682, allocations: 56.05 kB / 0.4941 GB, free: 1.883 MB / 410.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.0003177/0.3685, allocations: 174.1 kB / 0.4943 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3687, allocations: 78.8 kB / 0.4944 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007835/0.3694, allocations: 0.703 MB / 0.4951 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3694, allocations: 8.5 kB / 0.4951 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3695, allocations: 0 / 0.4951 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3695, allocations: 7.984 kB / 0.4951 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3709, allocations: 1.262 MB / 0.4963 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3709, allocations: 0 / 0.4963 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/0.3718, allocations: 327.4 kB / 0.4966 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.3719, allocations: 34.31 kB / 0.4967 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.372, allocations: 31.64 kB / 0.4967 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3732, allocations: 2.45 MB / 0.4991 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3732, allocations: 0 / 0.4991 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.3741, allocations: 0.8136 MB / 0.4999 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.3743, allocations: 157.6 kB / 0.5 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.3744, allocations: 26.7 kB / 0.5001 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3747, allocations: 36.34 kB / 0.5001 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3748, allocations: 63.83 kB / 0.5002 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.3749, allocations: 54.33 kB / 0.5002 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.3751, allocations: 252.6 kB / 0.5004 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3751, allocations: 0 / 0.5004 GB, free: 13.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009703/0.3761, allocations: 451.8 kB / 0.5009 GB, free: 13.3 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.0009049/0.377, allocations: 0.5128 MB / 0.5014 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.3779, allocations: 0.6262 MB / 0.502 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-05/0.3779, allocations: 17.45 kB / 0.502 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.3785, allocations: 441.9 kB / 0.5024 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.3797, allocations: 0.5159 MB / 0.5029 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.3828, allocations: 2.125 MB / 0.505 GB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.383, allocations: 277.3 kB / 0.5053 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006596/0.3836, allocations: 263 kB / 0.5055 GB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.3847, allocations: 0.4987 MB / 0.506 GB, free: 8.516 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3847, allocations: 0 / 0.506 GB, free: 8.516 MB / 426.7 MB Notification: Performance of Templates: time 0.03602/0.4207, allocations: 31.68 MB / 0.5369 GB, free: 9.25 MB / 458.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 -s gbode -gbm=radauIIA3 -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.406223203986883]