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.0009643/0.0009643, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001013/0.001013, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9604/0.9604, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.129/0.129, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.683e-06/1.683e-06, allocations: 3.938 kB / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.143e-05, allocations: 2.312 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3081/0.3081, allocations: 147.5 MB / 495.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.3116, allocations: 3.052 MB / 498.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.3119, allocations: 30.22 kB / 498.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.3125, allocations: 240.2 kB / 498.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.315, allocations: 1.602 MB / 0.4883 GB, free: 7.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3163, allocations: 0.984 MB / 0.4893 GB, free: 6.727 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.3178, allocations: 2.338 MB / 0.4916 GB, free: 5.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.3184, allocations: 0.6374 MB / 0.4922 GB, free: 5.129 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.3199, allocations: 1.506 MB / 0.4937 GB, free: 4.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.3215, allocations: 1.588 MB / 0.4952 GB, free: 3.359 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.3217, allocations: 100.2 kB / 0.4953 GB, free: 3.359 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009578/0.3226, allocations: 0.721 MB / 0.496 GB, free: 3.023 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.323, allocations: 0.7339 MB / 0.4967 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.3235, allocations: 0.5718 MB / 0.4973 GB, free: 2.281 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.325, allocations: 1.889 MB / 0.4992 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.325, allocations: 0 / 0.4992 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.325, allocations: 8 kB / 0.4992 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.325, allocations: 0 / 0.4992 GB, free: 0.7734 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.001993/0.327, allocations: 1.695 MB / 0.5008 GB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.327, allocations: 8.031 kB / 0.5008 GB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.328, allocations: 463.4 kB / 0.5013 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.3289, allocations: 0.7032 MB / 0.502 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.329, allocations: 189.4 kB / 0.5021 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3291, allocations: 120.3 kB / 0.5022 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.3306, allocations: 1.851 MB / 0.5041 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.3306, allocations: 15.88 kB / 0.5041 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/0.3307, allocations: 47.98 kB / 0.5041 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.45e-05/0.3308, allocations: 93.95 kB / 0.5042 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.332, allocations: 0.5971 MB / 0.5048 GB, free: 10.64 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.004644/0.3366, allocations: 4.753 MB / 0.5094 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.3372, allocations: 404.4 kB / 0.5098 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.3374, allocations: 180.8 kB / 0.51 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/0.3375, allocations: 74.38 kB / 0.5101 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3375, allocations: 53.88 kB / 0.5101 GB, free: 5.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.603e-06/0.3375, allocations: 0 / 0.5101 GB, free: 5.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005151/0.3427, allocations: 2.586 MB / 0.5126 GB, free: 2.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3427, allocations: 115.5 kB / 0.5127 GB, free: 2.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.3432, allocations: 0.6398 MB / 0.5134 GB, free: 1.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.133e-05/0.3432, allocations: 41.7 kB / 0.5134 GB, free: 1.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.3435, allocations: 0.604 MB / 0.514 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.3436, allocations: 281.6 kB / 0.5143 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3439, allocations: 212.2 kB / 0.5145 GB, free: 468 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.344, allocations: 0.5664 MB / 0.515 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.3443, allocations: 205.9 kB / 0.5152 GB, free: 15.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.3448, allocations: 0.6513 MB / 0.5159 GB, free: 14.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.3456, allocations: 0.854 MB / 0.5167 GB, free: 13.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3456, allocations: 4 kB / 0.5167 GB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001273/0.3469, allocations: 1.059 MB / 0.5177 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3469, allocations: 8 kB / 0.5177 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3469, allocations: 8 kB / 0.5177 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.3493, allocations: 1.065 MB / 0.5188 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.3496, allocations: 143.8 kB / 0.5189 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3508, allocations: 1.352 MB / 0.5202 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.3511, allocations: 43.97 kB / 0.5203 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.3512, allocations: 71.92 kB / 0.5204 GB, free: 10.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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.0002177/0.3514, allocations: 216.3 kB / 0.5206 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.3516, allocations: 103.5 kB / 0.5207 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/0.3526, allocations: 0.7973 MB / 0.5214 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3526, allocations: 11.94 kB / 0.5214 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3526, allocations: 4 kB / 0.5215 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3526, allocations: 3.984 kB / 0.5215 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.3545, allocations: 1.716 MB / 0.5231 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3545, allocations: 3.984 kB / 0.5231 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.3553, allocations: 311.6 kB / 0.5234 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.3554, allocations: 43.66 kB / 0.5235 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.3555, allocations: 35.98 kB / 0.5235 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.3572, allocations: 3.589 MB / 0.527 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3572, allocations: 0 / 0.527 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3583, allocations: 1.063 MB / 0.5281 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.3586, allocations: 207.3 kB / 0.5282 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.3587, allocations: 31.98 kB / 0.5283 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.359, allocations: 55.83 kB / 0.5283 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3591, allocations: 60.55 kB / 0.5284 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.3592, allocations: 67.94 kB / 0.5285 GB, free: 1.395 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000303/0.3595, allocations: 411 kB / 0.5288 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5288 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007842/0.3603, allocations: 443.6 kB / 0.5293 GB, free: 0.5625 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.0009957/0.3613, allocations: 0.5671 MB / 0.5298 GB, free: 0 / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3624, allocations: 0.7606 MB / 0.5306 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.465e-06/0.3624, allocations: 0.6562 kB / 0.5306 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.3631, allocations: 0.5847 MB / 0.5311 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3642, allocations: 480.3 kB / 0.5316 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.3673, allocations: 2.297 MB / 0.5338 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3674, allocations: 281.2 kB / 0.5341 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005153/0.368, allocations: 286.7 kB / 0.5344 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3682, allocations: 96.47 kB / 0.5345 GB, free: 11.16 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3682, allocations: 0 / 0.5345 GB, free: 11.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02726/0.3954, allocations: 28.51 MB / 0.5623 GB, free: 14.71 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.590041464660317]