Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 211 kB / 24.55 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.662/1.662, allocations: 230.7 MB / 258.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.16e-05, allocations: 2.281 kB / 379.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003203/0.003224, allocations: 1.73 MB / 380.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004637, allocations: 0.6505 MB / 381.4 MB, free: 48 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.004771, allocations: 7.938 kB / 381.5 MB, free: 40 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.004948, allocations: 23.73 kB / 381.5 MB, free: 16 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2113/0.2163, allocations: 35.69 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.217, allocations: 132.9 kB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.2174, allocations: 199.3 kB / 381.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2176, allocations: 25.73 kB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.2179, allocations: 95.11 kB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.2182, allocations: 93.02 kB / 382 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.2183, allocations: 11.78 kB / 382.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.2184, allocations: 21.81 kB / 382.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003615/0.2187, allocations: 286 kB / 382.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001537/0.2189, allocations: 187.5 kB / 382.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.2189, allocations: 5.781 kB / 382.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.933e-05/0.219, allocations: 4.25 kB / 382.5 MB, free: 12.79 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: 40 (28) * Number of variables: 40 (28) Notification: Performance of [SIM] Bindings: time 0.001252/0.2202, allocations: 0.7795 MB / 383.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001349/0.2204, allocations: 80.58 kB / 383.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000824/0.2212, allocations: 0.5318 MB / 383.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002212/0.2214, allocations: 132.7 kB / 384.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001266/0.2227, allocations: 0.6487 MB / 384.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000178/0.2229, allocations: 123.9 kB / 384.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.462e-05/0.2229, allocations: 78.48 kB / 384.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005488/0.2235, allocations: 322 kB / 385.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.247e-05/0.2236, allocations: 18.89 kB / 385.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004413/0.224, allocations: 264.8 kB / 385.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007932/0.2248, allocations: 461.6 kB / 386 MB, free: 11.42 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003507/0.2252, allocations: 343.3 kB / 386.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003889/0.2256, allocations: 245 kB / 386.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004613/0.226, allocations: 0.4941 MB / 387 MB, free: 10.85 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.768e-05/0.2261, allocations: 25.58 kB / 387 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.816e-05/0.2261, allocations: 74.94 kB / 387.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001493/0.2276, allocations: 1.004 MB / 388.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.163e-05/0.2276, allocations: 18.22 kB / 388.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.754e-06/0.2276, allocations: 1.281 kB / 388.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001217/0.2278, allocations: 69.64 kB / 388.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.995e-06/0.2278, allocations: 0 / 388.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.011e-05/0.2278, allocations: 27.44 kB / 388.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.008e-05/0.2278, allocations: 4.641 kB / 388.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005071/0.2283, allocations: 281.4 kB / 388.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002304/0.2286, allocations: 371.4 kB / 388.9 MB, free: 9.934 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 9 (9) {FIR1.y, FIR2.y, superSampleIpo.y, superSampleIpo.u_preSuper, superSampleIpo.u_super, superSampleIpo.u_pre, FIR2.u, upSample.u_super, upSample.dummy} * Number of clocked states: ..................... 15 (9) {FIR1.u_buffer, FIR1.first, FIR2.u_buffer, FIR2.first, superSampleIpo.ticks, superSampleIpo.uu, superSampleIpo.first, upSample.b_super, upSample.b} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 3) ------------------------------------------------------------- ### Variable: FIR1.u_buffer ### Equation: [WHEN] (3) ($RES_SIM_1) [----] when Clock() then [----] FIR1.u_buffer := if $PRE.FIR1.first then {FIR2.u, FIR2.u * FIR1.cBufStart[1], FIR2.u * FIR1.cBufStart[2]} else {FIR2.u, $PRE.FIR1.u_buffer, $PRE.FIR1.u_buffer} [----] end when; Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------- ### Variable: FIR2.u_buffer ### Equation: [WHEN] (5) ($RES_SIM_4) [----] when Clock() then [----] FIR2.u_buffer := if $PRE.FIR2.first then {FIR2.u, FIR2.u * FIR2.cBufStart[1], FIR2.u * FIR2.cBufStart[2], FIR2.u * FIR2.cBufStart[3], FIR2.u * FIR2.cBufStart[4]} else {FIR2.u, $PRE.FIR2.u_buffer, $PRE.FIR2.u_buffer, $PRE.FIR2.u_buffer, $PRE.FIR2.u_buffer} [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:0, when:12, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:38, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.00021/0.2288, allocations: 78.38 kB / 389 MB, free: 9.891 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: Clock() " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6836302709998563] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'upSample.y', 'superSampleIpo.y', 'FIR1.y', 'FIR2.y'] 0.23784291499760002 0.2537546 0.031423226 Calling exit ...