Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001672/0.001672, allocations: 96.42 kB / 20.51 MB, free: 1.152 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.001907/0.001907, allocations: 217.3 kB / 23.82 MB, free: 4.344 MB / 14.72 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 1.737/1.737, allocations: 207.7 MB / 234.7 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] 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.2442/0.2442, allocations: 44.26 MB / 331.2 MB, free: 9.277 MB / 270.1 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.474e-05/3.474e-05, allocations: 3.688 kB / 468.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.002808/0.002843, allocations: 0.5339 MB / 469.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.004267, allocations: 436.7 kB / 469.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.004325, allocations: 4 kB / 469.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.004442, allocations: 3.938 kB / 469.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.00462, allocations: 11.92 kB / 469.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.00553, allocations: 178.4 kB / 470 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.005716, allocations: 39.91 kB / 470 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.005765, allocations: 0 / 470 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.005842, allocations: 31.95 kB / 470 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.00949, allocations: 465.2 kB / 470.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.009531, allocations: 4 kB / 470.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.009649, allocations: 19.97 kB / 470.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002523/0.009901, allocations: 71.42 kB / 470.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 4.293e-05/0.009944, allocations: 39.53 kB / 470.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.009975, allocations: 8 kB / 470.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.565e-05/0.01002, allocations: 0 / 470.6 MB, free: 2.117 MB / 334.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: 3.178359718993306] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.020636767032556236 0.036210012 0.022824211 Calling exit ...