Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 103.4 kB / 17.75 MB, free: 5.305 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.001005/0.001005, allocations: 198.2 kB / 18.69 MB, free: 4.375 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.283/1.283, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.298e-05, allocations: 5.375 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002595/0.002627, allocations: 1.643 MB / 353.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.004663, allocations: 1.198 MB / 354.8 MB, free: 428 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.004786, allocations: 4 kB / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.005133, allocations: 35.72 kB / 354.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.005284, allocations: 43.77 kB / 354.9 MB, free: 344 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.0008042/0.006122, allocations: 287.2 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.006452, allocations: 203.5 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.00657, allocations: 17.11 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.006741, allocations: 75.75 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.007329, allocations: 79.66 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.007386, allocations: 12 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.007851, allocations: 263.5 kB / 355.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001794/0.008042, allocations: 233.5 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.38e-05/0.008123, allocations: 130.1 kB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.008173, allocations: 15.94 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.396e-05/0.008253, allocations: 7.938 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (whiteNoise.r_raw, whiteNoise.state) := Modelica.Math.Random.Generators.Xorshift128plus.random(pre(whiteNoise.state))