Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 106.8 kB / 17.14 MB, free: 6.031 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.0009499/0.0009499, allocations: 195.1 kB / 18.07 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07114/0.07114, allocations: 12.59 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.348e-05, allocations: 5.234 kB / 394.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.002563/0.002595, allocations: 1.617 MB / 396.4 MB, free: 44.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.004044, allocations: 0.8724 MB / 397.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.004139, allocations: 1.062 kB / 397.3 MB, free: 43.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.004295, allocations: 11.95 kB / 397.3 MB, free: 43.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006034/0.004915, allocations: 164.9 kB / 397.4 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.00509, allocations: 37.3 kB / 397.5 MB, free: 43.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.005257, allocations: 87.03 kB / 397.5 MB, free: 43.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.005386, allocations: 39.75 kB / 397.6 MB, free: 43.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.005456, allocations: 31.09 kB / 397.6 MB, free: 43.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.005604, allocations: 49.8 kB / 397.7 MB, free: 43.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.005631, allocations: 5.781 kB / 397.7 MB, free: 43.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.005992, allocations: 178.4 kB / 397.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001048/0.006107, allocations: 117.1 kB / 398 MB, free: 43.37 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.245e-05/0.006155, allocations: 76.25 kB / 398 MB, free: 43.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.006183, allocations: 15.25 kB / 398 MB, free: 43.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.476e-05/0.006203, allocations: 2.219 kB / 398 MB, free: 43.3 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 (13) * Number of variables: 22 (13) Notification: Performance of Bindings: time 0.0005203/0.006727, allocations: 462.1 kB / 398.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.602e-05/0.00679, allocations: 16.81 kB / 398.5 MB, free: 42.87 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000207/0.007002, allocations: 215.9 kB / 398.7 MB, free: 42.7 MB / 318.1 MB Notification: Performance of simplify1: time 1.997e-05/0.007028, allocations: 13.19 kB / 398.7 MB, free: 42.7 MB / 318.1 MB Notification: Performance of Alias: time 0.0003814/0.007414, allocations: 288.2 kB / 399 MB, free: 42.45 MB / 318.1 MB Notification: Performance of simplify2: time 1.026e-05/0.007433, allocations: 11.38 kB / 399 MB, free: 42.44 MB / 318.1 MB Notification: Performance of Events: time 6.453e-05/0.007503, allocations: 23.73 kB / 399.1 MB, free: 42.43 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001829/0.007692, allocations: 101.1 kB / 399.2 MB, free: 42.35 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001154/0.007814, allocations: 89.97 kB / 399.2 MB, free: 42.27 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency sample1.y could not be divided by the body size 4 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) $FUN_1 = Modelica_Synchronous.WorkInProgress.Incubate.Internal.FIR_coefficients(FIR1.filterType, 3, FIR1.f_cut, interval(sample1.y), FIR1.window, FIR1.beta) ($RES_$AUX_13) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (8/20) ************************* (1) [DISS] (1) Real FIR1.FIRbyCoefficients1.y (2) [ALGB] (1) Clock periodicRealClock.y (3) [ALGB] (4) final Real[4] FIR1.FIRbyCoefficients1.a = FIR1.a (4) [ALGB] (4) Real[4] $FUN_1 (5) [DISC] (1) Boolean $SEV_0 (6) [ALGB] (1) Real sample1.y (7) [ALGB] (4) final Real[4] FIR1.a = Modelica_Synchronous.WorkInProgress.Incubate.Internal.FIR_coefficients(FIR1.filterType, 3, FIR1.f_cut, interval(sample1.y), FIR1.window, FIR1.beta) (8) [DISS] (4) protected Real[4] FIR1.FIRbyCoefficients1.u_buffer (start = {0.0 for $i1 in 1:4}) System Equations (8/20) ************************* (1) [SCAL] (1) sample1.y = $SEV_0 ($RES_SIM_4) (2) [SCAL] (1) periodicRealClock.y = Clock(periodicRealClock.period) ($RES_SIM_3) (3) [SCAL] (1) $SEV_0 = sample(1, step.y, periodicRealClock.y) ($RES_EVT_15) (4) [WHEN] (4)when Clock() then (4) [----] FIR1.FIRbyCoefficients1.u_buffer := if previous(FIR1.FIRbyCoefficients1.first) then {sample1.y, sample1.y * FIR1.FIRbyCoefficients1.cBufStart[1], sample1.y * FIR1.FIRbyCoefficients1.cBufStart[2], sample1.y * FIR1.FIRbyCoefficients1.cBufStart[3]} else {sample1.y, previous(FIR1.FIRbyCoefficients1.u_buffer[1]), previous(FIR1.FIRbyCoefficients1.u_buffer[2]), previous(FIR1.FIRbyCoefficients1.u_buffer[3])} (4) [----] end when; (5) [WHEN] (1)when Clock() then (5) [----] FIR1.FIRbyCoefficients1.y := FIR1.FIRbyCoefficients1.a * FIR1.FIRbyCoefficients1.u_buffer (5) [----] end when; (6) [ARRY] (4) FIR1.a = $FUN_1 ($RES_BND_11) (7) [ARRY] (4) $FUN_1 = Modelica_Synchronous.WorkInProgress.Incubate.Internal.FIR_coefficients(FIR1.filterType, 3, FIR1.f_cut, interval(sample1.y), FIR1.window, FIR1.beta) ($RES_$AUX_13) (8) [ARRY] (4) FIR1.FIRbyCoefficients1.a = FIR1.a ($RES_BND_12)