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.001146/0.001146, allocations: 117.1 kB / 17.75 MB, free: 5.172 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.001181/0.001181, allocations: 183.1 kB / 18.68 MB, free: 4.25 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.367e-05, allocations: 2.281 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002348/0.00238, allocations: 1.522 MB / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.004646, allocations: 1.428 MB / 354.9 MB, free: 320 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.004722, allocations: 4 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.951e-05/0.004829, allocations: 11.81 kB / 354.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.004938, allocations: 27.72 kB / 354.9 MB, free: 276 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.001027/0.005972, allocations: 386.9 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.006178, allocations: 143.6 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.642e-05/0.006242, allocations: 17.47 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.006312, allocations: 59.7 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.006929, allocations: 85.98 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.00696, allocations: 8 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.007513, allocations: 403.3 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001543/0.007677, allocations: 221.4 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.334e-05/0.007746, allocations: 130 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.007786, allocations: 15.94 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.799e-05/0.00785, allocations: 7.984 kB / 356.4 MB, free: 14.82 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))