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.0009768/0.0009768, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001198/0.001198, allocations: 172.4 kB / 24.84 MB, free: 8.852 MB / 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.9793/0.9793, allocations: 158.6 MB / 186.7 MB, free: 2.754 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.1824/0.1824, allocations: 32.38 MB / 271.5 MB, free: 14.52 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 2.264e-06/2.264e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.884e-05, allocations: 6.25 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3479/0.3479, allocations: 144.7 MB / 493.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.3519, allocations: 3.035 MB / 496.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.3524, allocations: 34.78 kB / 496.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.353, allocations: 239.2 kB / 496.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.3559, allocations: 1.602 MB / 498.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.3576, allocations: 0.9821 MB / 499.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.3596, allocations: 2.336 MB / 0.49 GB, free: 6.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009731/0.3606, allocations: 0.6449 MB / 0.4907 GB, free: 6.441 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.3643, allocations: 2.886 MB / 0.4935 GB, free: 4.957 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.3655, allocations: 0.816 MB / 0.4943 GB, free: 4.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.3658, allocations: 103.2 kB / 0.4944 GB, free: 4.578 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.3671, allocations: 0.7129 MB / 0.4951 GB, free: 4.301 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.3675, allocations: 0.7338 MB / 0.4958 GB, free: 3.855 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.3681, allocations: 0.5757 MB / 0.4964 GB, free: 3.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3701, allocations: 1.87 MB / 0.4982 GB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3701, allocations: 0 / 0.4982 GB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3701, allocations: 0 / 0.4982 GB, free: 1.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.817e-05/0.3701, allocations: 0 / 0.4982 GB, free: 1.637 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.002095/0.3722, allocations: 1.685 MB / 0.4998 GB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3723, allocations: 8.031 kB / 0.4998 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3733, allocations: 434.7 kB / 0.5003 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/0.3742, allocations: 0.6572 MB / 0.5009 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3744, allocations: 201.1 kB / 0.5011 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.3745, allocations: 111.7 kB / 0.5012 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.3761, allocations: 1.729 MB / 0.5029 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.3761, allocations: 10.69 kB / 0.5029 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/0.3762, allocations: 46.27 kB / 0.5029 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.018e-05/0.3763, allocations: 89.95 kB / 0.503 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007838/0.3771, allocations: 474.6 kB / 0.5035 GB, free: 12.01 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.005532/0.3826, allocations: 4.502 MB / 0.5079 GB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.3831, allocations: 367 kB / 0.5082 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.3833, allocations: 154.3 kB / 0.5084 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.3834, allocations: 74.39 kB / 0.5084 GB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3834, allocations: 53.75 kB / 0.5085 GB, free: 6.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.916e-06/0.3834, allocations: 0 / 0.5085 GB, free: 6.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005046/0.3885, allocations: 2.218 MB / 0.5107 GB, free: 4.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.3886, allocations: 111.5 kB / 0.5108 GB, free: 4.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.3891, allocations: 0.6389 MB / 0.5114 GB, free: 3.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.3892, allocations: 41.7 kB / 0.5114 GB, free: 3.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.3896, allocations: 0.6156 MB / 0.512 GB, free: 3.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.3897, allocations: 289.6 kB / 0.5123 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.39, allocations: 220.4 kB / 0.5125 GB, free: 2.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3902, allocations: 0.5741 MB / 0.5131 GB, free: 2.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.3905, allocations: 162.5 kB / 0.5132 GB, free: 1.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/0.3914, allocations: 0.6368 MB / 0.5139 GB, free: 1.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.3925, allocations: 0.81 MB / 0.5146 GB, free: 176 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3925, allocations: 4 kB / 0.5147 GB, free: 172 kB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00176/0.3943, allocations: 0.9615 MB / 0.5156 GB, free: 15.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.3943, allocations: 12 kB / 0.5156 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.3943, allocations: 11.98 kB / 0.5156 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003388/0.3977, allocations: 0.992 MB / 0.5166 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.3983, allocations: 147.8 kB / 0.5167 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.4002, allocations: 1.313 MB / 0.518 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.401, allocations: 32 kB / 0.518 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.4011, allocations: 55.98 kB / 0.5181 GB, free: 12.6 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.00057/0.4017, allocations: 224.2 kB / 0.5183 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.4019, allocations: 111.5 kB / 0.5184 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.4034, allocations: 0.7232 MB / 0.5191 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.4034, allocations: 8 kB / 0.5191 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4034, allocations: 3.938 kB / 0.5191 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4034, allocations: 3.984 kB / 0.5191 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.4065, allocations: 1.455 MB / 0.5206 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4065, allocations: 4 kB / 0.5206 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.4078, allocations: 283.7 kB / 0.5208 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.408, allocations: 43.66 kB / 0.5209 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.4081, allocations: 31.98 kB / 0.5209 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.4103, allocations: 3.543 MB / 0.5244 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4103, allocations: 4 kB / 0.5244 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.412, allocations: 0.9655 MB / 0.5253 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.4124, allocations: 187.3 kB / 0.5255 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4126, allocations: 31.98 kB / 0.5255 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.413, allocations: 27.98 kB / 0.5255 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.4131, allocations: 64.53 kB / 0.5256 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.4132, allocations: 63.95 kB / 0.5257 GB, free: 4.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003066/0.4135, allocations: 374.9 kB / 0.526 GB, free: 4.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4135, allocations: 0 / 0.526 GB, free: 4.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001352/0.4148, allocations: 455.5 kB / 0.5265 GB, free: 3.703 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.00157/0.4164, allocations: 0.5686 MB / 0.527 GB, free: 3.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.4185, allocations: 0.6867 MB / 0.5277 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.4185, allocations: 8.641 kB / 0.5277 GB, free: 2.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.4194, allocations: 0.523 MB / 0.5282 GB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.4211, allocations: 482.9 kB / 0.5287 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.4252, allocations: 2.274 MB / 0.5309 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4254, allocations: 281.2 kB / 0.5311 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007227/0.4261, allocations: 187.1 kB / 0.5313 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.4275, allocations: 0.6069 MB / 0.5319 GB, free: 14.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4275, allocations: 0 / 0.5319 GB, free: 14.04 MB / 410.7 MB Notification: Performance of Templates: time 0.04753/0.475, allocations: 32.31 MB / 0.5635 GB, free: 13.74 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.882953439839184]