Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Tests.Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 101.8 kB / 19.6 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 190.2 kB / 22.87 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02484/0.02484, allocations: 3.928 MB / 310.7 MB, free: 5.008 MB / 238.1 MB " [Timeout remaining time 180] 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.Tests.Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Tests.Derivatives") translateModel(AdvancedNoise.Tests.Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Tests.Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.353e-05, allocations: 2.281 kB / 432.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Tests.Derivatives): time 0.002589/0.002602, allocations: 2.827 MB / 434.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.008038, allocations: 5.547 MB / 440.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.008274, allocations: 31.62 kB / 440.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.008579, allocations: 194.1 kB / 440.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.008771, allocations: 122.9 kB / 440.8 MB, free: 10.92 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.Tests.Derivatives.uniformLinear1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformLinear1.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.Tests.Derivatives.uniformLinear1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformLinear1.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.Tests.Derivatives.uniformSmooth1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformSmooth1.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.Tests.Derivatives.uniformSmooth1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.uniformSmooth1.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.Tests.Derivatives.normalLinear1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalLinear1.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.Tests.Derivatives.normalLinear1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalLinear1.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.Tests.Derivatives.normalSmooth1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalSmooth1.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.Tests.Derivatives.normalSmooth1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.normalSmooth1.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.Tests.Derivatives.weibullLinear1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullLinear1.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.Tests.Derivatives.weibullLinear1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullLinear1.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.Tests.Derivatives.weibullSmooth1.generator.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullSmooth1.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.Tests.Derivatives.weibullSmooth1.initialState' contains a call to impure function 'AdvancedNoise.Tests.Derivatives.weibullSmooth1.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.01247, allocations: 1.95 MB / 442.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008501/0.01332, allocations: 1.365 MB / 444.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.01348, allocations: 113.2 kB / 444.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.01386, allocations: 0.5099 MB / 444.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.01413, allocations: 457.9 kB / 445.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.59e-05/0.01421, allocations: 71.94 kB / 445.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.01604, allocations: 1.853 MB / 447.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005457/0.01658, allocations: 1.697 MB / 448.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002313/0.01681, allocations: 1.056 MB / 449.9 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.979e-05/0.01691, allocations: 135.5 kB / 450 MB, free: 1.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.687e-05/0.01699, allocations: 31.81 kB / 450 MB, free: 1.652 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: 277 (79) * Number of variables: 277 (97) Notification: Performance of Bindings: time 0.00302/0.02001, allocations: 3.832 MB / 453.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0006305/0.02064, allocations: 0.5507 MB / 454.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002531/0.02317, allocations: 2.648 MB / 457.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Simplify 1: time 0.0006192/0.02379, allocations: 0.5087 MB / 457.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of Alias: time 0.002419/0.02621, allocations: 2.122 MB / 459.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of Simplify 2: time 0.0005543/0.02677, allocations: 490 kB / 460.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of Remove Stream: time 0.0003561/0.02712, allocations: 369.2 kB / 460.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of Detect States: time 0.0008554/0.02798, allocations: 0.7607 MB / 461.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of Events: time 0.0007137/0.02869, allocations: 0.5701 MB / 461.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001086/0.02978, allocations: 1.005 MB / 462.9 MB, free: 4.188 MB / 318.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (3/24) ***************************** (1) [SCAL] (1) $FUN_1 = AdvancedNoise.Tests.Derivatives.uniformLinear.interpolation.interpolate(uniformLinear.buffer, (time - uniformLinear.bufferStartTime) / uniformLinear.samplePeriod, uniformLinear.samplePeriod) ($RES_AUX_111) (2) [SCAL] (1) uniformLinear.y = if $SEV_0 then uniformLinear.y_off else smooth(0, $FUN_1) ($RES_SIM_68) (3) [ALGO] (22) ($RES_SIM_13) (3) [----] $SEV_13 := uniformLinear.generateNoise and sample(9, uniformLinear.startTime + uniformLinear.actualSamplePeriod, uniformLinear.actualSamplePeriod); (3) [----] $TEV_8 := sample(8, uniformLinear.startTime + uniformLinear.actualSamplePeriod, uniformLinear.actualSamplePeriod); (3) [----] $SEV_12 := uniformLinear.generateNoise and time >= uniformLinear.startTime; (3) [----] $TEV_7 := time >= uniformLinear.startTime; (3) [----] when initial() then (3) [----] uniformLinear.state := Modelica.Math.Random.Utilities.initialStateWithXorshift64star(uniformLinear.localSeed, uniformLinear.actualGlobalSeed, 4); (3) [----] uniformLinear.bufferStartTime := time; (3) [----] for i in 1:200 loop (3) [----] (uniformLinear.r, uniformLinear.state) := AdvancedNoise.Tests.Derivatives.uniformLinear.generator.random(uniformLinear.state); (3) [----] end for; (3) [----] for i in 1:12 loop (3) [----] (uniformLinear.r, uniformLinear.state) := AdvancedNoise.Tests.Derivatives.uniformLinear.generator.random(uniformLinear.state); (3) [----] uniformLinear.buffer[i] := (-1.0) + 4.0 * uniformLinear.r; (3) [----] end for; (3) [----] elsewhen $SEV_12 then (3) [----] uniformLinear.bufferStartTime := time; (3) [----] elsewhen $SEV_13 then (3) [----] uniformLinear.bufferStartTime := time; (3) [----] uniformLinear.buffer[1:2] := uniformLinear.buffer[11:12]; (3) [----] for i in 3:12 loop (3) [----] (uniformLinear.r, uniformLinear.state) := AdvancedNoise.Tests.Derivatives.uniformLinear.generator.random(uniformLinear.state); (3) [----] uniformLinear.buffer[i] := (-1.0) + 4.0 * uniformLinear.r; (3) [----] end for; (3) [----] end when; State Candidate Variables (2/2) ********************************* (1) [ALGB] (1) Real $FUN_1 (2) [STAT] (1) Real uniformLinear.y " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.009180225431919] Failed to read output from testmodel.py, exit status != 0: 0.036331238225102425 0.049517137 0.029942149 Calling exit ...