Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedInterpolation.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.Examples.TimeBasedInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedInterpolation") translateModel(AdvancedNoise.Examples.TimeBasedInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 109.8 kB / 16.42 MB, free: 6.375 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.001471/0.00147, allocations: 194 kB / 17.35 MB, free: 5.828 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02309/0.02309, allocations: 3.912 MB / 295.1 MB, free: 11.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.802e-05, allocations: 6.438 kB / 407.5 MB, free: 28.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedInterpolation): time 0.003211/0.003248, allocations: 2.392 MB / 409.9 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00801/0.01127, allocations: 5.737 MB / 415.7 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.01181, allocations: 19.81 kB / 415.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009796/0.0128, allocations: 333.4 kB / 416 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.01327, allocations: 75.25 kB / 416.1 MB, free: 19.71 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'. Notification: Performance of NFTyping.typeClassSections: time 0.005664/0.01895, allocations: 2.423 MB / 418.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.02006, allocations: 0.9783 MB / 419.5 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.02028, allocations: 97.69 kB / 419.6 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.02086, allocations: 390.8 kB / 420 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.0213, allocations: 310.5 kB / 420.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.02148, allocations: 52 kB / 420.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.02417, allocations: 1.893 MB / 422.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005249/0.02471, allocations: 0.9232 MB / 423.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002503/0.02497, allocations: 0.554 MB / 423.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.02517, allocations: 111.7 kB / 423.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001013/0.02528, allocations: 19.88 kB / 423.8 MB, free: 11.95 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: 230 (40) * Number of variables: 230 (53) Notification: Performance of Bindings: time 0.001948/0.02723, allocations: 2.375 MB / 426.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002491/0.02749, allocations: 159.3 kB / 426.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001528/0.02903, allocations: 1.673 MB / 428 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simplify1: time 7.972e-05/0.02912, allocations: 47.92 kB / 428.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of Alias: time 0.001165/0.03029, allocations: 1.131 MB / 429.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simplify2: time 6.897e-05/0.03037, allocations: 47.92 kB / 429.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005635/0.03094, allocations: 0.5627 MB / 429.8 MB, free: 5.699 MB / 302.1 MB Error: Internal error NBEvents.TimeEvent.createSample failed for sample operator: sample(3, stepNoise.startTime + stepNoise.actualSamplePeriod, stepNoise.actualSamplePeriod)