Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 115.8 kB / 17.76 MB, free: 5.336 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.001235/0.001235, allocations: 185.8 kB / 18.68 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.404e-05, allocations: 8.188 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002281/0.002313, allocations: 1.511 MB / 353.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.004549, allocations: 1.439 MB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.004616, allocations: 0 / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.513e-05/0.004709, allocations: 11.81 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.919e-05/0.004795, allocations: 23.8 kB / 354.9 MB, free: 300 kB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.00092/0.005736, allocations: 394.8 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.005928, allocations: 139.6 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.005991, allocations: 13.44 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.006064, allocations: 59.7 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.006584, allocations: 93.92 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.006619, allocations: 12 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005543/0.007179, allocations: 407.3 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001638/0.007353, allocations: 217.4 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.665e-05/0.007436, allocations: 134 kB / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.007475, allocations: 15.94 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.706e-05/0.007527, allocations: 4 kB / 356.4 MB, free: 14.83 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (uniformNoise.r_raw, uniformNoise.state) := Modelica.Math.Random.Generators.Xorshift128plus.random(pre(uniformNoise.state))