Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.001698/0.001698, allocations: 104 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.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.00216/0.00216, allocations: 190.7 kB / 24.53 MB, free: 3.852 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.605/1.605, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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(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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.648e-05, allocations: 6.219 kB / 371.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003936/0.003962, allocations: 1.723 MB / 373.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.005488, allocations: 0.5883 MB / 374 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.005706, allocations: 7.938 kB / 374.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.005959, allocations: 15.8 kB / 374.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.006409, allocations: 47.72 kB / 374.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.006954, allocations: 115.7 kB / 374.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.007338, allocations: 195.5 kB / 374.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.007509, allocations: 25.72 kB / 374.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.007734, allocations: 83.69 kB / 374.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.007988, allocations: 91.64 kB / 374.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.008042, allocations: 12 kB / 374.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.665e-05/0.008078, allocations: 12 kB / 374.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000305/0.008384, allocations: 277.1 kB / 374.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001529/0.008536, allocations: 185.5 kB / 375.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.008573, allocations: 4 kB / 375.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.008e-05/0.008634, allocations: 15.92 kB / 375.1 MB, free: 5.734 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.001237/0.00987, allocations: 0.775 MB / 375.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000197/0.01007, allocations: 75.91 kB / 376 MB, free: 4.754 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000589/0.01066, allocations: 480.9 kB / 376.4 MB, free: 4.258 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002666/0.01092, allocations: 128.6 kB / 376.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001181/0.0121, allocations: 0.6422 MB / 377.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002021/0.01231, allocations: 122.9 kB / 377.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001251/0.01243, allocations: 80.31 kB / 377.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005437/0.01297, allocations: 318.6 kB / 377.7 MB, free: 2.715 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.087e-05/0.01307, allocations: 19.98 kB / 377.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004667/0.01353, allocations: 266.3 kB / 378 MB, free: 2.395 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000812/0.01434, allocations: 480.7 kB / 378.5 MB, free: 1.891 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003848/0.01473, allocations: 343.7 kB / 378.8 MB, free: 1.555 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004895/0.01522, allocations: 264.6 kB / 379 MB, free: 1.223 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005707/0.01579, allocations: 435.6 kB / 379.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.962e-05/0.01585, allocations: 17.44 kB / 379.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001145/0.01596, allocations: 83.84 kB / 379.6 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.2592/0.2752, allocations: 1.008 MB / 380.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.787e-05/0.2752, allocations: 18.56 kB / 380.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.645e-06/0.2752, allocations: 1.156 kB / 380.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002034/0.2754, allocations: 68.39 kB / 380.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.678e-06/0.2754, allocations: 1.188 kB / 380.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.133e-05/0.2755, allocations: 28.44 kB / 380.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.426e-05/0.2755, allocations: 2.719 kB / 380.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0006121/0.2761, allocations: 267.1 kB / 381 MB, free: 16.68 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003037/0.2764, allocations: 387.9 kB / 381.3 MB, free: 16.31 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: ........... 11 (scalar:11, 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: ........... 43 (scalar:39, 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.0002001/0.2766, allocations: 68.58 kB / 381.4 MB, free: 16.29 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.7159920660196804] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'upSample.y', 'superSampleIpo.y', 'FIR1.y', 'FIR2.y'] 0.2866693210089579 0.30344590399999993 0.29163034699999996 Calling exit ...