Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers.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.001323/0.001323, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 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.001416/0.001416, allocations: 211 kB / 24.55 MB, free: 3.824 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.2314/0.2314, allocations: 44.93 MB / 359.7 MB, free: 6.02 MB / 286.1 MB " [Timeout remaining time 179] 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.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6001,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers") translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6001,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.2e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001717/0.001739, allocations: 0.5388 MB / 0.4949 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.002698, allocations: 418.7 kB / 0.4952 GB, free: 9.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.002739, allocations: 4 kB / 0.4953 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.908e-05/0.002808, allocations: 3.938 kB / 0.4953 GB, free: 9.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.002935, allocations: 15.92 kB / 0.4953 GB, free: 9.059 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.003586, allocations: 167.6 kB / 0.4954 GB, free: 8.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.003731, allocations: 43.84 kB / 0.4955 GB, free: 8.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.003777, allocations: 8 kB / 0.4955 GB, free: 8.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.642e-05/0.003844, allocations: 31.95 kB / 0.4955 GB, free: 8.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.003897, allocations: 15.92 kB / 0.4955 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.003921, allocations: 7.938 kB / 0.4955 GB, free: 8.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.004175, allocations: 127.8 kB / 0.4957 GB, free: 8.664 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001079/0.004283, allocations: 71.47 kB / 0.4957 GB, free: 8.594 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.977e-05/0.004323, allocations: 43.42 kB / 0.4958 GB, free: 8.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.004342, allocations: 0 / 0.4958 GB, free: 8.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.344e-06/0.00435, allocations: 3.938 kB / 0.4958 GB, free: 8.547 MB / 366.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for for i in 1:3 loop assert(cnt[i] > lowBound, \"Number of generated \" + String(i, 0, true) + \" is \" + String(cnt[i], 0, true) + \" but should be \" + String(avg, 6, 0, true) + \"+/-\" + String(sqrt(avg), 6, 0, true), AssertionLevel.error); assert(cnt[i] < highBound, \"Number of generated \" + String(i, 0, true) + \" is \" + String(cnt[i], 0, true) + \" but should be \" + String(avg, 6, 0, true) + \"+/-\" + String(sqrt(avg), 6, 0, true), AssertionLevel.error); end for " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7763332040049136] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.012229306972585618 0.028027939 0.02047241 Calling exit ...