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.0008781/0.0008781, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.000934/0.000934, allocations: 168.3 kB / 24.91 MB, free: 8.762 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.969/0.969, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2468/0.2468, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.303e-06/1.303e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.494e-05, allocations: 2.969 kB / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2807/0.2807, allocations: 148.4 MB / 471.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003283/0.284, allocations: 3.096 MB / 474.8 MB, free: 12.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.2843, allocations: 26.66 kB / 474.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.2847, allocations: 239.3 kB / 475 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.2867, allocations: 1.553 MB / 476.6 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2879, allocations: 0.9748 MB / 477.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.2894, allocations: 2.331 MB / 479.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.29, allocations: 0.6322 MB / 480.5 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.2927, allocations: 2.909 MB / 483.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.2935, allocations: 0.7597 MB / 484.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2936, allocations: 99.56 kB / 484.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.2945, allocations: 0.6761 MB / 485 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.2949, allocations: 0.7356 MB / 485.7 MB, free: 12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.2953, allocations: 0.5658 MB / 486.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.2968, allocations: 1.862 MB / 488.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2968, allocations: 6.562 kB / 488.1 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2968, allocations: 0 / 488.1 MB, free: 11.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.2968, allocations: 0 / 488.1 MB, free: 11.72 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.00182/0.2986, allocations: 1.546 MB / 489.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.2987, allocations: 15.08 kB / 489.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008508/0.2995, allocations: 431 kB / 490.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.3001, allocations: 0.5816 MB / 490.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.3002, allocations: 194.6 kB / 490.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3004, allocations: 117.6 kB / 491 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.3013, allocations: 1.691 MB / 492.7 MB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3013, allocations: 0 / 492.7 MB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.3014, allocations: 49.86 kB / 492.7 MB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/0.3014, allocations: 90.83 kB / 492.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.302, allocations: 454.2 kB / 493.3 MB, free: 8.918 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.00335/0.3053, allocations: 3.554 MB / 496.8 MB, free: 6.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.3057, allocations: 375.9 kB / 497.2 MB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3058, allocations: 124.3 kB / 497.3 MB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.953e-05/0.3059, allocations: 55.77 kB / 497.4 MB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3059, allocations: 45.69 kB / 497.4 MB, free: 6.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.803e-06/0.3059, allocations: 7.938 kB / 497.4 MB, free: 6.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.003955/0.3099, allocations: 2.193 MB / 499.6 MB, free: 5.742 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.3099, allocations: 123.2 kB / 499.7 MB, free: 5.605 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.3102, allocations: 0.5396 MB / 0.4885 GB, free: 5.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.3103, allocations: 43.98 kB / 0.4886 GB, free: 5.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3104, allocations: 0.5026 MB / 0.4891 GB, free: 4.902 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/0.3105, allocations: 274.9 kB / 0.4893 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.3107, allocations: 190.2 kB / 0.4895 GB, free: 4.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.3107, allocations: 400.7 kB / 0.4899 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.3109, allocations: 146.4 kB / 0.49 GB, free: 4.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.3112, allocations: 498.2 kB / 0.4905 GB, free: 3.773 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.3117, allocations: 0.6717 MB / 0.4912 GB, free: 3.297 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3117, allocations: 7.062 kB / 0.4912 GB, free: 3.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0008108/0.3125, allocations: 0.7705 MB / 0.4919 GB, free: 3.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3125, allocations: 8.969 kB / 0.4919 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3125, allocations: 10.84 kB / 0.492 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.3143, allocations: 0.9673 MB / 0.4929 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.3146, allocations: 138.2 kB / 0.493 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007943/0.3154, allocations: 0.9851 MB / 0.494 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.3157, allocations: 34.08 kB / 0.494 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.3158, allocations: 56.05 kB / 0.4941 GB, free: 1.941 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.0001924/0.316, allocations: 181.4 kB / 0.4942 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3161, allocations: 77.7 kB / 0.4943 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.3168, allocations: 0.7028 MB / 0.495 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3168, allocations: 12.25 kB / 0.495 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3168, allocations: 0 / 0.495 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3168, allocations: 3.984 kB / 0.495 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3181, allocations: 1.266 MB / 0.4963 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3181, allocations: 0 / 0.4963 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/0.3188, allocations: 292.8 kB / 0.4965 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-05/0.3189, allocations: 34.91 kB / 0.4966 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.3189, allocations: 30.55 kB / 0.4966 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009752/0.3199, allocations: 2.448 MB / 0.499 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3199, allocations: 3.984 kB / 0.499 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.3207, allocations: 0.8112 MB / 0.4998 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.3209, allocations: 156.8 kB / 0.4999 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.321, allocations: 30.89 kB / 0.5 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.3213, allocations: 32.28 kB / 0.5 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.3214, allocations: 59.52 kB / 0.5001 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.3215, allocations: 54.42 kB / 0.5001 GB, free: 13.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3217, allocations: 251.9 kB / 0.5003 GB, free: 13.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3217, allocations: 0 / 0.5003 GB, free: 13.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006947/0.3224, allocations: 451.7 kB / 0.5008 GB, free: 13.38 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.0008207/0.3232, allocations: 0.5005 MB / 0.5013 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008134/0.324, allocations: 0.6279 MB / 0.5019 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/0.324, allocations: 17.45 kB / 0.5019 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.3246, allocations: 449.8 kB / 0.5023 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3256, allocations: 0.5191 MB / 0.5028 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.3282, allocations: 2.125 MB / 0.5049 GB, free: 9.672 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.3283, allocations: 277.3 kB / 0.5052 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000505/0.3288, allocations: 270.9 kB / 0.5054 GB, free: 9.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009934/0.3298, allocations: 0.4949 MB / 0.5059 GB, free: 8.613 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3298, allocations: 0 / 0.5059 GB, free: 8.613 MB / 426.7 MB Notification: Performance of Templates: time 0.02996/0.3598, allocations: 31.63 MB / 0.5368 GB, free: 9.398 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 -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.124763649888337]