Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 107.2 kB / 16.42 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.0009376/0.0009376, allocations: 191.8 kB / 17.36 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.287/1.287, 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.02387/0.02387, allocations: 3.898 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.639e-05, allocations: 2.5 kB / 407.5 MB, free: 28.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.001859/0.001883, allocations: 1.507 MB / 409 MB, free: 26.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.003425, allocations: 1.11 MB / 410.1 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.003503, allocations: 0 / 410.1 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.003655, allocations: 19.81 kB / 410.2 MB, free: 25.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.003711, allocations: 11.86 kB / 410.2 MB, free: 25.62 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.0006362/0.004352, allocations: 247.3 kB / 410.4 MB, free: 25.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.004555, allocations: 175.6 kB / 410.6 MB, free: 25.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.004654, allocations: 17.38 kB / 410.6 MB, free: 25.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.004748, allocations: 63.75 kB / 410.7 MB, free: 25.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.004832, allocations: 59.75 kB / 410.7 MB, free: 25.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.004861, allocations: 8 kB / 410.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.005109, allocations: 243.6 kB / 411 MB, free: 24.82 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.733e-05/0.005215, allocations: 166.1 kB / 411.1 MB, free: 24.65 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.546e-05/0.005246, allocations: 94.53 kB / 411.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.005282, allocations: 16 kB / 411.2 MB, free: 24.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-05/0.005305, allocations: 3.938 kB / 411.2 MB, free: 24.54 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: 13 (6) * Number of variables: 13 (9) Notification: Performance of Bindings: time 0.0004172/0.005728, allocations: 0.5392 MB / 411.8 MB, free: 23.9 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.137e-05/0.005755, allocations: 11.98 kB / 411.8 MB, free: 23.89 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002812/0.006041, allocations: 364.1 kB / 412.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of simplify1: time 1.467e-05/0.006064, allocations: 15.97 kB / 412.2 MB, free: 23.49 MB / 302.1 MB Notification: Performance of Alias: time 0.0002951/0.006365, allocations: 262 kB / 412.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simplify2: time 1.203e-05/0.006386, allocations: 7.984 kB / 412.4 MB, free: 23.17 MB / 302.1 MB Error: Internal error NBEvents.TimeEvent.createSample failed for sample operator: sample(4, discreteNoise.startTime + discreteNoise.actualSamplePeriod, discreteNoise.actualSamplePeriod)