Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/2.953e-05, allocations: 2.281 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003845/0.003875, allocations: 1.753 MB / 380.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2527/0.2566, allocations: 0.6363 MB / 381.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.2568, allocations: 9.469 kB / 381.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.257, allocations: 17.58 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.2573, allocations: 46.55 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.258, allocations: 129.1 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.2584, allocations: 203 kB / 381.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.2586, allocations: 30.73 kB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.2589, allocations: 89.19 kB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.2591, allocations: 101.1 kB / 382 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.2592, allocations: 11.47 kB / 382.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.2593, allocations: 15.27 kB / 382.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003734/0.2597, allocations: 288.2 kB / 382.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001607/0.2598, allocations: 181.5 kB / 382.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.2599, allocations: 5.531 kB / 382.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.635e-05/0.26, allocations: 10.25 kB / 382.5 MB, free: 12.77 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.00119/0.2611, allocations: 0.7719 MB / 383.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001119/0.2613, allocations: 80.81 kB / 383.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006493/0.2619, allocations: 0.5329 MB / 383.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001793/0.2621, allocations: 133.2 kB / 384.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001175/0.2633, allocations: 0.6426 MB / 384.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001473/0.2634, allocations: 122.6 kB / 384.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.502e-05/0.2635, allocations: 81.97 kB / 384.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005523/0.2641, allocations: 317.6 kB / 385.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001063/0.2642, allocations: 24.02 kB / 385.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004661/0.2646, allocations: 263.4 kB / 385.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0008602/0.2655, allocations: 449.9 kB / 385.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004378/0.2659, allocations: 348 kB / 386.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004728/0.2664, allocations: 251.5 kB / 386.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000601/0.267, allocations: 0.489 MB / 387 MB, free: 10.73 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.635e-05/0.267, allocations: 24.28 kB / 387 MB, free: 10.7 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001156/0.2672, allocations: 78.02 kB / 387.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001741/0.2689, allocations: 0.996 MB / 388.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.59e-05/0.2689, allocations: 26.41 kB / 388.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.2689, allocations: 0 / 388.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001246/0.269, allocations: 68.28 kB / 388.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.011e-05/0.2691, allocations: 2.156 kB / 388.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.217e-05/0.2691, allocations: 21.94 kB / 388.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.723e-05/0.2691, allocations: 11.95 kB / 388.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004878/0.2696, allocations: 266.9 kB / 388.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002156/0.2698, allocations: 373.8 kB / 388.9 MB, free: 9.809 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.0002709/0.2701, allocations: 68.17 kB / 388.9 MB, free: 9.773 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.711138585000299] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'upSample.y', 'superSampleIpo.y', 'FIR1.y', 'FIR2.y'] 0.2800211620051414 0.295673158 0.032195495000000005 Calling exit ...