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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 114.5 kB / 17.1 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 198.7 kB / 18.03 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2713/0.2713, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.682e-05, allocations: 2.281 kB / 442.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001267/0.001302, allocations: 0.5332 MB / 443 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.002072, allocations: 450.1 kB / 443.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.002122, allocations: 3.938 kB / 443.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.742e-05/0.002215, allocations: 0 / 443.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.00236, allocations: 7.922 kB / 443.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.002884, allocations: 167.2 kB / 443.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.003008, allocations: 51.89 kB / 443.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.003054, allocations: 0 / 443.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.003105, allocations: 27.97 kB / 443.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.005145, allocations: 377.9 kB / 444 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.005187, allocations: 8 kB / 444 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.005252, allocations: 15.98 kB / 444.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of combineBinaries: time 6.62e-05/0.005326, allocations: 59.45 kB / 444.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.653e-05/0.005348, allocations: 35.55 kB / 444.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.005374, allocations: 3.938 kB / 444.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.475e-05/0.005412, allocations: 0 / 444.1 MB, free: 4.086 MB / 318.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