Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001735/0.001735, allocations: 104.5 kB / 21.24 MB, free: 0.5703 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.002011/0.002011, allocations: 194.5 kB / 24.52 MB, free: 3.863 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.463/1.463, allocations: 225.7 MB / 253.3 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.304e-05, allocations: 2.281 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.005205/0.005228, allocations: 1.958 MB / 373.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.008058, allocations: 1.056 MB / 374.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.00828, allocations: 7.875 kB / 374.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.009144, allocations: 163.5 kB / 374.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.009691, allocations: 115.5 kB / 375 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.01078, allocations: 251.1 kB / 375.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005979/0.01138, allocations: 279.4 kB / 375.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.01159, allocations: 36.53 kB / 375.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.01191, allocations: 135.5 kB / 375.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.01215, allocations: 95.53 kB / 375.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.0122, allocations: 19.94 kB / 375.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.01241, allocations: 59.97 kB / 375.8 MB, free: 5 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004888/0.0129, allocations: 368.2 kB / 376.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002814/0.01318, allocations: 240.8 kB / 376.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.01325, allocations: 8 kB / 376.4 MB, free: 4.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.381e-05/0.01331, allocations: 4 kB / 376.4 MB, free: 4.387 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of [SIM] Bindings: time 0.001646/0.01495, allocations: 0.8555 MB / 377.3 MB, free: 3.406 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002312/0.01519, allocations: 75.11 kB / 377.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005132/0.0157, allocations: 316 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002586/0.01596, allocations: 116.5 kB / 377.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0014/0.01736, allocations: 0.5824 MB / 378.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002069/0.01756, allocations: 104.6 kB / 378.5 MB, free: 2 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001164/0.01768, allocations: 69.41 kB / 378.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000535/0.01822, allocations: 223.4 kB / 378.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001434/0.01836, allocations: 45.2 kB / 378.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004905/0.01885, allocations: 194.5 kB / 379 MB, free: 1.363 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007346/0.01958, allocations: 312.5 kB / 379.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003691/0.01995, allocations: 255.6 kB / 379.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003255/0.02321, allocations: 450.4 kB / 380 MB, free: 312 kB / 302.1 MB Notification: Performance of [INI] Inline: time 0.1814/0.2046, allocations: 376.5 kB / 380.3 MB, free: 16.25 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.106e-05/0.2046, allocations: 20.06 kB / 380.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001387/0.2048, allocations: 77.64 kB / 380.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001582/0.2064, allocations: 1.042 MB / 381.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.99e-05/0.2064, allocations: 24.62 kB / 381.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.61e-07/0.2064, allocations: 0 / 381.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.698e-06/0.2064, allocations: 5.188 kB / 381.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.554e-06/0.2064, allocations: 10.12 kB / 381.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.241e-05/0.2064, allocations: 1.719 kB / 381.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002746/0.2067, allocations: 187.3 kB / 381.7 MB, free: 16.17 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.167e-05/0.2067, allocations: 4.75 kB / 381.7 MB, free: 16.17 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: .................... 8 (8) {table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled, upSample2.y, upSample2.u_super, upSample2.dummy, upSample1.y, upSample1.u_super, upSample1.dummy} * Number of clocked states: ..................... 4 (4) {upSample2.b_super, upSample2.b, upSample1.b_super, upSample1.b} * Number of discrete variables: ................. 7 (7) {sample1.u, upSample1.u, and1.y, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 38 (scalar:37, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 5.846e-05/0.2068, allocations: 39.56 kB / 381.7 MB, free: 16.15 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.4183045919053257] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 0.21599677996709943 0.22604768500000003 0.21016688800000002 Calling exit ...