Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.TestRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001033/0.001033, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1813/0.1813, allocations: 39.96 MB / 310.6 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/1.989e-05, allocations: 2.5 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001132/0.001159, allocations: 0.5469 MB / 436.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.002095, allocations: 0.584 MB / 437.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.002131, allocations: 3.938 kB / 437.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.002226, allocations: 3.938 kB / 437.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-06/0.002241, allocations: 0 / 437.5 MB, free: 10.65 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:820:5-907:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Strings.hashString'. Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.002875, allocations: 203.4 kB / 437.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.002954, allocations: 35.91 kB / 437.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.003008, allocations: 7.984 kB / 437.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.003034, allocations: 15.98 kB / 437.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.003065, allocations: 11.92 kB / 437.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.003078, allocations: 0 / 437.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.003296, allocations: 167.7 kB / 438 MB, free: 10.22 MB / 318.1 MB Notification: Performance of combineBinaries: time 3.405e-05/0.003338, allocations: 43.44 kB / 438 MB, free: 10.18 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.645e-06/0.00335, allocations: 27.56 kB / 438 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.003388, allocations: 11.94 kB / 438 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.856e-06/0.003402, allocations: 4 kB / 438 MB, free: 10.13 MB / 318.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)