Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 107.8 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 218.2 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.153/1.153, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.034e-05, allocations: 2.281 kB / 481.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001053/0.001071, allocations: 0.5428 MB / 482.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.002063, allocations: 0.5963 MB / 483.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.002095, allocations: 0 / 483.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.725e-05/0.002169, allocations: 7.938 kB / 483.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.528e-06/0.002184, allocations: 0 / 483.1 MB, free: 3.008 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:842:5-926:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.002829, allocations: 202.9 kB / 483.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.377e-05/0.002903, allocations: 35.91 kB / 483.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.00294, allocations: 4 kB / 483.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.002965, allocations: 15.97 kB / 483.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.378e-05/0.002994, allocations: 11.92 kB / 483.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.003009, allocations: 4 kB / 483.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.003268, allocations: 171.7 kB / 483.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of combineBinaries: time 4.217e-05/0.003319, allocations: 43.44 kB / 483.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.431e-05/0.003338, allocations: 31.47 kB / 483.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.003362, allocations: 11.94 kB / 483.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.222e-06/0.003373, allocations: 0 / 483.6 MB, free: 2.488 MB / 350.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (result, r2, r4a, r4b, r4c, r33, state2, state4a, state4b, state4c, state33) := ModelicaTest.Math.Random.randomNumbers(614657, 30020)