Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedInterpolation.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.SignalBasedInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedInterpolation") translateModel(AdvancedNoise.Examples.SignalBasedInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 113.4 kB / 16.43 MB, free: 6.406 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.00118/0.00118, allocations: 189.9 kB / 17.36 MB, free: 5.711 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.247/1.247, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02264/0.02264, allocations: 3.913 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.152e-05, allocations: 9.25 kB / 407.5 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedInterpolation): time 0.001531/0.00156, allocations: 0.9441 MB / 408.5 MB, free: 27.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.004509, allocations: 2.669 MB / 411.1 MB, free: 24.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.004595, allocations: 4 kB / 411.1 MB, free: 24.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.00477, allocations: 39.55 kB / 411.2 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.004901, allocations: 27.72 kB / 411.2 MB, free: 24.6 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.SignalBasedInterpolation.constantNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedInterpolation.constantNoise.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.SignalBasedInterpolation.constantNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedInterpolation.constantNoise.convertRealToIntegers'. [/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.SignalBasedInterpolation.linearNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedInterpolation.linearNoise.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.SignalBasedInterpolation.linearNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedInterpolation.linearNoise.convertRealToIntegers'. [/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.SignalBasedInterpolation.smoothNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedInterpolation.smoothNoise.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.SignalBasedInterpolation.smoothNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedInterpolation.smoothNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.005985, allocations: 0.5093 MB / 411.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.006213, allocations: 251.4 kB / 412 MB, free: 23.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.006338, allocations: 40.38 kB / 412 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.006462, allocations: 95.5 kB / 412.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.006571, allocations: 107.5 kB / 412.2 MB, free: 23.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.006611, allocations: 16 kB / 412.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.007206, allocations: 0.4915 MB / 412.7 MB, free: 23.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001513/0.007367, allocations: 324 kB / 413 MB, free: 22.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.505e-05/0.007438, allocations: 212.8 kB / 413.2 MB, free: 22.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.007471, allocations: 23.88 kB / 413.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.822e-05/0.007504, allocations: 11.88 kB / 413.3 MB, free: 22.53 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: 48 (22) * Number of variables: 48 (22) Notification: Performance of Bindings: time 0.0007827/0.008291, allocations: 0.9596 MB / 414.2 MB, free: 21.46 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001092/0.008407, allocations: 71.27 kB / 414.3 MB, free: 21.4 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003613/0.008776, allocations: 0.4999 MB / 414.8 MB, free: 20.87 MB / 302.1 MB Notification: Performance of simplify1: time 1.911e-05/0.008803, allocations: 27.91 kB / 414.8 MB, free: 20.84 MB / 302.1 MB Notification: Performance of Alias: time 0.0004355/0.009244, allocations: 466.7 kB / 415.3 MB, free: 20.35 MB / 302.1 MB Notification: Performance of simplify2: time 1.729e-05/0.00927, allocations: 15.97 kB / 415.3 MB, free: 20.33 MB / 302.1 MB Notification: Performance of Events: time 2.695e-05/0.009302, allocations: 35.95 kB / 415.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001386/0.009446, allocations: 138.7 kB / 415.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000107/0.00956, allocations: 124 kB / 415.6 MB, free: 20.02 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: linearNoise.localSeed. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_10) [----] for $i1 in 1:3 loop [----] [SCAL] (1) linearNoise.r[$i1] = AdvancedNoise.Examples.SignalBasedInterpolation.linearNoise.zeroDer(AdvancedNoise.Examples.SignalBasedInterpolation.linearNoise.generator.random(AdvancedNoise.Examples.SignalBasedInterpolation.linearNoise.initialState(linearNoise.localSeed, linearNoise.actualGlobalSeed, ($i1 + noEvent(integer(linearNoise.offset)) + linearNoise.shift) * linearNoise.samplePeriod + linearNoise.signalOffset))[1], 0.0) ($RES_SIM_11) [----] end for;