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.001454/0.001454, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001701/0.001701, allocations: 204.6 kB / 24.49 MB, free: 3.961 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.635/1.635, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.255/0.255, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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 3.286e-05/3.286e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001762/0.001794, allocations: 0.5323 MB / 0.4978 GB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003012, allocations: 422.7 kB / 0.4982 GB, free: 6.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.003068, allocations: 0 / 0.4982 GB, free: 6.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.003188, allocations: 3.984 kB / 0.4982 GB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.003365, allocations: 7.938 kB / 0.4982 GB, free: 6.32 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.0007718/0.004137, allocations: 174.2 kB / 0.4984 GB, free: 6.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.004302, allocations: 47.89 kB / 0.4984 GB, free: 6.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.004352, allocations: 8 kB / 0.4984 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.004413, allocations: 27.91 kB / 0.4985 GB, free: 6.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.004497, allocations: 19.92 kB / 0.4985 GB, free: 6.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.004524, allocations: 4 kB / 0.4985 GB, free: 6.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.004831, allocations: 139.8 kB / 0.4986 GB, free: 5.91 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001378/0.004968, allocations: 63.48 kB / 0.4987 GB, free: 5.848 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.02e-05/0.005009, allocations: 39.48 kB / 0.4987 GB, free: 5.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.005038, allocations: 4 kB / 0.4987 GB, free: 5.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.446e-05/0.005053, allocations: 7.922 kB / 0.4987 GB, free: 5.797 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: 3.007861074991524] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.013997987378388643 0.028213829000000003 0.020089972 Calling exit ...