Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 110.4 kB / 16.42 MB, free: 6.453 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.001165/0.001166, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02335/0.02335, allocations: 3.904 MB / 295.1 MB, free: 11.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/1.941e-05, allocations: 5.875 kB / 407.5 MB, free: 28.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001787/0.001816, allocations: 1.47 MB / 409 MB, free: 26.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003163, allocations: 1.048 MB / 410 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.003221, allocations: 0 / 410 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.003358, allocations: 15.81 kB / 410.1 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.00353, allocations: 15.86 kB / 410.1 MB, free: 25.72 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.003994, allocations: 191.3 kB / 410.3 MB, free: 25.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.00412, allocations: 103.7 kB / 410.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.004205, allocations: 8 kB / 410.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.004286, allocations: 43.83 kB / 410.4 MB, free: 25.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.004353, allocations: 39.78 kB / 410.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.004375, allocations: 4 kB / 410.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.004575, allocations: 171.8 kB / 410.6 MB, free: 25.17 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.599e-05/0.00465, allocations: 130.3 kB / 410.8 MB, free: 25.04 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.218e-05/0.004677, allocations: 90.67 kB / 410.8 MB, free: 24.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.004701, allocations: 11.94 kB / 410.9 MB, free: 24.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-05/0.004723, allocations: 8 kB / 410.9 MB, free: 24.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: 10 (8) * Number of variables: 10 (8) Notification: Performance of Bindings: time 0.0003786/0.005107, allocations: 464.5 kB / 411.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.961e-05/0.005163, allocations: 23.92 kB / 411.3 MB, free: 24.35 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001741/0.005342, allocations: 222.2 kB / 411.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of simplify1: time 1.126e-05/0.005362, allocations: 4 kB / 411.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of Alias: time 0.0002496/0.005616, allocations: 217.8 kB / 411.8 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simplify2: time 9.608e-06/0.005634, allocations: 4 kB / 411.8 MB, free: 23.85 MB / 302.1 MB Notification: Performance of Events: time 1.831e-05/0.005657, allocations: 15.98 kB / 411.8 MB, free: 23.83 MB / 302.1 MB Notification: Performance of Detect States: time 9.102e-05/0.005752, allocations: 65.25 kB / 411.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of Partitioning: time 5.352e-05/0.005813, allocations: 56.09 kB / 411.9 MB, free: 23.69 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 0 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: signalBasedNoise.localSeed. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (2) ($RES_SIM_4) [----] for $i1 in 1:2 loop [----] [SCAL] (1) signalBasedNoise.r[$i1] = AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.zeroDer(AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random(AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState(signalBasedNoise.localSeed, signalBasedNoise.actualGlobalSeed, ($i1 + integer(signalBasedNoise.offset) + signalBasedNoise.shift) * signalBasedNoise.samplePeriod + signalBasedNoise.signalOffset))[1], 0.0) ($RES_SIM_5) [----] end for;