Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.001319/0.00132, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.04646/0.04646, allocations: 3.906 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.726e-05, allocations: 6.438 kB / 407.5 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.001758/0.001783, allocations: 1.521 MB / 409 MB, free: 26.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.003249, allocations: 1.141 MB / 410.2 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.00332, allocations: 7.938 kB / 410.2 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.003443, allocations: 35.67 kB / 410.2 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.872e-05/0.003517, allocations: 23.78 kB / 410.3 MB, free: 25.56 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.0005526/0.004075, allocations: 235.3 kB / 410.5 MB, free: 25.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.004298, allocations: 279.4 kB / 410.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.004348, allocations: 17.55 kB / 410.8 MB, free: 25.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.004481, allocations: 103.7 kB / 410.9 MB, free: 24.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.004561, allocations: 71.67 kB / 410.9 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.004593, allocations: 15.94 kB / 411 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.00479, allocations: 179.7 kB / 411.1 MB, free: 24.67 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.803e-05/0.004896, allocations: 249.1 kB / 411.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.527e-05/0.004937, allocations: 153.6 kB / 411.5 MB, free: 24.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.004976, allocations: 27.94 kB / 411.6 MB, free: 24.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.921e-05/0.005, allocations: 4 kB / 411.6 MB, free: 24.24 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: 18 (4) * Number of variables: 18 (10) Notification: Performance of Bindings: time 0.0004465/0.005452, allocations: 0.6948 MB / 412.3 MB, free: 23.45 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.955e-05/0.005477, allocations: 19.92 kB / 412.3 MB, free: 23.43 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000399/0.00588, allocations: 0.535 MB / 412.8 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simplify1: time 1.162e-05/0.005901, allocations: 11.98 kB / 412.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of Alias: time 7.32e-05/0.005979, allocations: 109.7 kB / 412.9 MB, free: 22.71 MB / 302.1 MB Notification: Performance of simplify2: time 6.933e-06/0.005992, allocations: 3.984 kB / 412.9 MB, free: 22.7 MB / 302.1 MB Error: Internal error NBEvents.TimeEvent.createSample failed for sample operator: sample(3, timeBasedNoise1.startTime + timeBasedNoise1.actualSamplePeriod, timeBasedNoise1.actualSamplePeriod)