Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomIntegers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001748, allocations: 103.6 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 46.96 MB / 361.7 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/2.963e-05, allocations: 3.969 kB / 0.4974 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001894/0.001924, allocations: 0.5283 MB / 0.4979 GB, free: 6.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.003076, allocations: 422.7 kB / 0.4983 GB, free: 6.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.003123, allocations: 0 / 0.4983 GB, free: 6.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.488e-05/0.003218, allocations: 7.938 kB / 0.4983 GB, free: 6.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.003359, allocations: 3.984 kB / 0.4984 GB, free: 6.141 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006871/0.004046, allocations: 179.1 kB / 0.4985 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004196, allocations: 47.89 kB / 0.4986 GB, free: 5.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.004238, allocations: 4 kB / 0.4986 GB, free: 5.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.004295, allocations: 27.92 kB / 0.4986 GB, free: 5.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.004355, allocations: 15.91 kB / 0.4986 GB, free: 5.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.004376, allocations: 7.984 kB / 0.4986 GB, free: 5.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.004605, allocations: 131.8 kB / 0.4987 GB, free: 5.738 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001001/0.004706, allocations: 75.45 kB / 0.4988 GB, free: 5.664 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.917e-05/0.004735, allocations: 31.56 kB / 0.4988 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.004751, allocations: 0 / 0.4988 GB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.534e-06/0.004759, allocations: 0 / 0.4988 GB, free: 5.633 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.815374423051253] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.01310022099642083 0.027383220000000003 0.019662132000000002 Calling exit ...