Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 110 kB / 16.42 MB, free: 6.508 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.001471, allocations: 185.9 kB / 17.36 MB, free: 5.754 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02367/0.02367, allocations: 3.898 MB / 295.1 MB, free: 11.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.32e-05, allocations: 2.5 kB / 407.5 MB, free: 28.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002055/0.002078, allocations: 1.99 MB / 409.5 MB, free: 26.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.004036, allocations: 1.503 MB / 411 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.004206, allocations: 3.938 kB / 411 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.004371, allocations: 51.47 kB / 411.1 MB, free: 24.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.004957, allocations: 255 kB / 411.3 MB, free: 24.5 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.0005938/0.00556, allocations: 347.1 kB / 411.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.005986, allocations: 0.6785 MB / 412.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.006162, allocations: 98 kB / 412.4 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.006369, allocations: 259.2 kB / 412.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.006568, allocations: 275 kB / 413 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.00665, allocations: 64 kB / 413 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.007026, allocations: 351.5 kB / 413.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003212/0.007356, allocations: 0.7976 MB / 414.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.992e-05/0.007462, allocations: 402.3 kB / 414.6 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.007531, allocations: 71.81 kB / 414.6 MB, free: 21.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.579e-05/0.007572, allocations: 11.94 kB / 414.6 MB, free: 21.16 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: 74 (60) * Number of variables: 74 (66) Notification: Performance of Bindings: time 0.001223/0.0088, allocations: 2.179 MB / 416.8 MB, free: 18.87 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002178/0.009024, allocations: 286.1 kB / 417.1 MB, free: 18.6 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001269/0.0103, allocations: 2.064 MB / 419.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of simplify1: time 9.441e-05/0.0104, allocations: 135.8 kB / 419.3 MB, free: 16.38 MB / 302.1 MB Notification: Performance of Alias: time 0.001212/0.01162, allocations: 1.687 MB / 421 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simplify2: time 9.084e-05/0.01172, allocations: 123.8 kB / 421.1 MB, free: 14.47 MB / 302.1 MB Error: Internal error NBEvents.TimeEvent.createSample failed for sample operator: sample(3, noise2.startTime + noise2.actualSamplePeriod, noise2.actualSamplePeriod)