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.001296/0.001296, allocations: 107.8 kB / 16.42 MB, free: 6.48 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.001242/0.001242, allocations: 189.5 kB / 17.36 MB, free: 5.703 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.273/1.273, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02278/0.02278, allocations: 3.918 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.332e-05, allocations: 2.281 kB / 407.5 MB, free: 28.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Tests.Derivatives): time 0.003111/0.003142, allocations: 2.808 MB / 410.4 MB, free: 25.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00618/0.009335, allocations: 5.438 MB / 415.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.009749, allocations: 11.88 kB / 415.8 MB, free: 20 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.01012, allocations: 202 kB / 416 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.01033, allocations: 115 kB / 416.1 MB, free: 19.68 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.004314/0.01472, allocations: 1.887 MB / 418 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.01575, allocations: 1.318 MB / 419.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.01598, allocations: 168.8 kB / 419.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.01643, allocations: 0.502 MB / 420 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.01675, allocations: 441.9 kB / 420.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.897e-05/0.01686, allocations: 68 kB / 420.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.01926, allocations: 1.794 MB / 422.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005015/0.01977, allocations: 1.386 MB / 423.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002267/0.02002, allocations: 0.8539 MB / 424.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.02015, allocations: 151.4 kB / 424.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001138/0.02027, allocations: 31.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.002408/0.02268, allocations: 3.844 MB / 428.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002879/0.02298, allocations: 278.3 kB / 428.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001755/0.02474, allocations: 2.565 MB / 431.4 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simplify1: time 5.729e-05/0.0248, allocations: 83.88 kB / 431.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of Alias: time 0.001489/0.0263, allocations: 1.891 MB / 433.4 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simplify2: time 4.983e-05/0.02636, allocations: 83.86 kB / 433.4 MB, free: 2.008 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006067/0.02697, allocations: 0.8903 MB / 434.3 MB, free: 1.098 MB / 302.1 MB Error: Internal error NBEvents.TimeEvent.createSample failed for sample operator: sample(3, weibullSmooth.startTime + weibullSmooth.actualSamplePeriod, weibullSmooth.actualSamplePeriod)