Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001772/0.001772, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002045/0.002045, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.519/1.519, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 46.97 MB / 361.7 MB, free: 3.988 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.656e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001583/0.001599, allocations: 0.5323 MB / 0.4979 GB, free: 6.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.00258, allocations: 426.7 kB / 0.4983 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.002615, allocations: 4 kB / 0.4983 GB, free: 6.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.413e-05/0.002689, allocations: 3.938 kB / 0.4983 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.002809, allocations: 7.938 kB / 0.4983 GB, free: 6.254 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.0005622/0.003371, allocations: 178.8 kB / 0.4985 GB, free: 6.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.0035, allocations: 39.95 kB / 0.4985 GB, free: 6.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.003541, allocations: 8 kB / 0.4986 GB, free: 6.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.839e-05/0.003599, allocations: 27.92 kB / 0.4986 GB, free: 6.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.003659, allocations: 23.84 kB / 0.4986 GB, free: 5.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.003679, allocations: 0 / 0.4986 GB, free: 5.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.003904, allocations: 127.8 kB / 0.4987 GB, free: 5.859 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001074/0.004012, allocations: 71.47 kB / 0.4988 GB, free: 5.789 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.24e-05/0.004044, allocations: 39.48 kB / 0.4988 GB, free: 5.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.004063, allocations: 0 / 0.4988 GB, free: 5.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.676e-06/0.004072, allocations: 4 kB / 0.4988 GB, free: 5.746 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.783842782024294] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.011495936021674424 0.025545755000000003 0.018575063000000003 Calling exit ...