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.001196/0.001196, allocations: 109.4 kB / 16.42 MB, free: 6.477 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.001199/0.001199, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02269/0.02269, allocations: 3.905 MB / 295.1 MB, free: 11 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.312e-05, allocations: 2.5 kB / 407.5 MB, free: 28.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedInterpolation): time 0.002262/0.002283, allocations: 2.401 MB / 409.9 MB, free: 25.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006059/0.008353, allocations: 5.741 MB / 415.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.008558, allocations: 11.88 kB / 415.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.009238, allocations: 329.4 kB / 416 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.009407, allocations: 75.31 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'. Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.01331, allocations: 2.416 MB / 418.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006362/0.01396, allocations: 0.9861 MB / 419.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.01411, allocations: 89.7 kB / 419.6 MB, free: 16.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.01439, allocations: 394.8 kB / 420 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.01462, allocations: 318.5 kB / 420.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.0147, allocations: 52 kB / 420.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.01682, allocations: 1.885 MB / 422.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003464/0.01718, allocations: 0.9271 MB / 423.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001325/0.01732, allocations: 0.5539 MB / 423.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.01741, allocations: 103.7 kB / 423.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.348e-05/0.01747, allocations: 27.86 kB / 423.8 MB, free: 11.93 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.001467/0.01894, allocations: 2.371 MB / 426.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001545/0.0191, allocations: 163.8 kB / 426.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001163/0.02027, allocations: 1.657 MB / 428 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simplify1: time 4.342e-05/0.02033, allocations: 59.89 kB / 428.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of Alias: time 0.000914/0.02125, allocations: 1.124 MB / 429.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simplify2: time 3.756e-05/0.02129, allocations: 55.91 kB / 429.2 MB, free: 6.254 MB / 302.1 MB Error: Internal error NBEvents.TimeEvent.createSample failed for sample operator: sample(3, stepNoise.startTime + stepNoise.actualSamplePeriod, stepNoise.actualSamplePeriod)