Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001343/0.001343, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001518/0.001518, allocations: 204.8 kB / 24.49 MB, free: 3.961 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.581e-05, allocations: 2.281 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003778/0.003804, allocations: 1.982 MB / 380.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2214/0.2252, allocations: 1.189 MB / 382.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.2254, allocations: 10.12 kB / 382.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007854/0.2262, allocations: 161 kB / 382.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.2267, allocations: 162.9 kB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.2274, allocations: 215.9 kB / 382.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.2278, allocations: 284.8 kB / 382.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.228, allocations: 40.05 kB / 383 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.2282, allocations: 131.9 kB / 383.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2284, allocations: 103.9 kB / 383.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.2284, allocations: 14.03 kB / 383.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.2286, allocations: 69.06 kB / 383.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002785/0.2289, allocations: 382 kB / 383.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001495/0.229, allocations: 251.5 kB / 383.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.2291, allocations: 8.719 kB / 383.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.81e-05/0.2291, allocations: 13.41 kB / 383.9 MB, free: 12.52 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.001109/0.2302, allocations: 0.8694 MB / 384.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001299/0.2304, allocations: 74.36 kB / 384.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003506/0.2307, allocations: 321.4 kB / 385.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001556/0.2309, allocations: 113.4 kB / 385.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0009884/0.2319, allocations: 0.6017 MB / 385.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001241/0.232, allocations: 106.5 kB / 386 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.443e-05/0.2321, allocations: 72.08 kB / 386 MB, free: 11.39 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000337/0.2324, allocations: 222.4 kB / 386.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.358e-05/0.2325, allocations: 41.64 kB / 386.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003267/0.2328, allocations: 195.9 kB / 386.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0004977/0.2333, allocations: 330 kB / 386.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002446/0.2336, allocations: 244.3 kB / 387.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002195/0.2358, allocations: 467.6 kB / 387.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0003868/0.2361, allocations: 373 kB / 387.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.803e-05/0.2362, allocations: 24.8 kB / 387.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.728e-05/0.2363, allocations: 81.09 kB / 388 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001663/0.2379, allocations: 1.049 MB / 389 MB, free: 10.02 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.634e-05/0.2379, allocations: 25.81 kB / 389.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.362e-06/0.2379, allocations: 1.156 kB / 389.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.025e-06/0.238, allocations: 1.125 kB / 389.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.963e-06/0.238, allocations: 7.219 kB / 389.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.636e-05/0.238, allocations: 6.281 kB / 389.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003135/0.2383, allocations: 204.4 kB / 389.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.047e-05/0.2383, allocations: 1 kB / 389.3 MB, free: 9.906 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:36, array:1, record:1) * 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 4.997e-05/0.2384, allocations: 45.5 kB / 389.3 MB, free: 9.871 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.5250125261954963] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 0.2469108789227903 0.26010941199999993 0.028382295000000002 Calling exit ...