Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Tests.Derivatives.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) 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(AdvancedNoise.Tests.Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Tests.Derivatives") translateModel(AdvancedNoise.Tests.Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Tests.Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001425/0.001425, allocations: 183.2 kB / 17.36 MB, free: 5.73 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02322/0.02322, allocations: 3.909 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.442e-05, allocations: 2.5 kB / 407.5 MB, free: 28.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Tests.Derivatives): time 0.002689/0.002712, allocations: 2.822 MB / 410.4 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006197/0.00892, allocations: 5.43 MB / 415.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.009322, allocations: 19.81 kB / 415.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.009707, allocations: 194.1 kB / 416 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.01006, allocations: 114.9 kB / 416.1 MB, free: 19.67 MB / 302.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.uniformLinear1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformLinear1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.uniformLinear1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformLinear1.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.uniformSmooth1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformSmooth1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.uniformSmooth1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformSmooth1.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.normalLinear1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalLinear1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.normalLinear1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalLinear1.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.normalSmooth1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalSmooth1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.normalSmooth1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalSmooth1.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.weibullLinear1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullLinear1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.weibullLinear1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullLinear1.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.weibullSmooth1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullSmooth1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Tests.Derivatives.weibullSmooth1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullSmooth1.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.01401, allocations: 1.869 MB / 418 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.01511, allocations: 1.326 MB / 419.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.01534, allocations: 162.5 kB / 419.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.0159, allocations: 0.4982 MB / 420 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.01632, allocations: 445.9 kB / 420.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.01648, allocations: 68 kB / 420.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.01847, allocations: 1.791 MB / 422.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005078/0.01898, allocations: 1.394 MB / 423.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002206/0.01921, allocations: 0.8617 MB / 424.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.01933, allocations: 147.5 kB / 424.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.39e-05/0.01942, allocations: 27.88 kB / 424.7 MB, free: 11.05 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 (79) * Number of variables: 277 (97) Notification: Performance of Bindings: time 0.002176/0.0216, allocations: 3.844 MB / 428.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002415/0.02185, allocations: 280.7 kB / 428.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001624/0.02348, allocations: 2.569 MB / 431.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simplify1: time 5.518e-05/0.02355, allocations: 79.81 kB / 431.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of Alias: time 0.001339/0.02489, allocations: 1.895 MB / 433.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simplify2: time 4.746e-05/0.02495, allocations: 67.89 kB / 433.4 MB, free: 2.016 MB / 302.1 MB Error: Internal error NBEvents.TimeEvent.createSample failed for sample operator: sample(3, weibullSmooth.startTime + weibullSmooth.actualSamplePeriod, weibullSmooth.actualSamplePeriod)