Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.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.001356/0.001356, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001436/0.001436, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Electrical.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder") translateModel(Modelica.Electrical.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.118e-05, allocations: 2.281 kB / 378.9 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.003482/0.003503, allocations: 2 MB / 380.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1829/0.1864, allocations: 0.997 MB / 381.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1866, allocations: 4.781 kB / 381.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1867, allocations: 38.23 kB / 382 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1869, allocations: 56.27 kB / 382 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1873, allocations: 135.1 kB / 382.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.1877, allocations: 420.9 kB / 382.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1879, allocations: 60.12 kB / 382.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.1891, allocations: 0.9889 MB / 383.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.1893, allocations: 209.7 kB / 383.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.1894, allocations: 39.59 kB / 383.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.1895, allocations: 36.12 kB / 383.9 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005315/0.1901, allocations: 0.5809 MB / 384.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000166/0.1902, allocations: 308.8 kB / 384.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.1903, allocations: 25.31 kB / 384.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.131e-05/0.1903, allocations: 9.406 kB / 384.8 MB, free: 12.55 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: 42 (30) * Number of variables: 42 (36) Notification: Performance of [SIM] Bindings: time 0.001371/0.1917, allocations: 1.451 MB / 386.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002077/0.1919, allocations: 171.4 kB / 386.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009753/0.1929, allocations: 0.9692 MB / 387.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002854/0.1932, allocations: 236 kB / 387.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001345/0.1945, allocations: 0.9734 MB / 388.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002649/0.1948, allocations: 234.8 kB / 388.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000196/0.195, allocations: 187.3 kB / 389 MB, free: 10.01 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004702/0.1955, allocations: 368.3 kB / 389.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004794/0.1959, allocations: 359.8 kB / 389.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007874/0.1967, allocations: 0.618 MB / 390.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001256/0.198, allocations: 0.9267 MB / 391.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001088/0.1991, allocations: 1.139 MB / 392.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009085/0.2, allocations: 0.6576 MB / 393.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001885/0.2019, allocations: 1.665 MB / 394.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.634e-05/0.2019, allocations: 30.19 kB / 394.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0007225/0.2026, allocations: 0.5885 MB / 395.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003143/0.2058, allocations: 2.41 MB / 397.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.874e-05/0.2058, allocations: 26.72 kB / 397.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.954e-06/0.2058, allocations: 5.094 kB / 397.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.518e-06/0.2058, allocations: 336 / 397.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.376e-05/0.2058, allocations: 21.78 kB / 397.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.954e-05/0.2059, allocations: 4.062 kB / 397.8 MB, free: 6.309 MB / 302.1 MB Error: Internal error NFExpression.makeZero failed for: enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 15) ----------------------------------------------------------------------- ### Variables: [DISC] (1) enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Adder.XOR.G2.y (fixed = true, start = Modelica.Electrical.Digital.Interfaces.Logic.'U') [PRE-] (1) enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') $PRE.Adder.XOR.G2.y [DISC] (1) Boolean $SEV_31 [DISC] (1) Boolean $SEV_30 [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Adder.XOR.G2.y_old (fixed = true, start = Adder.XOR.G2.y0) [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean $SEV_28 [DISC] (1) enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') $TEV_3 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_26 [DISC] (1) protected Integer Adder.XOR.G2.lh [DISC] (1) Boolean $SEV_25 [DISC] (1) protected Real Adder.XOR.G2.delayTime [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Adder.XOR.G2.y_auxiliary (fixed = true, start = Adder.XOR.G2.y0) [DISC] (1) protected discrete Real Adder.XOR.G2.t_next ### Equation: [ALGO] (15) ($RES_SIM_0) [----] $SEV_30 := time >= Adder.XOR.G2.t_next; [----] $SEV_29 := Adder.XOR.G2.lh == 0 or abs(Adder.XOR.G2.delayTime) < 2.2250738585072014e-308; [----] $SEV_28 := Adder.XOR.G2.lh < 0; [----] $SEV_27 := Adder.XOR.G2.lh > 0; [----] $TEV_3 := $PRE.Adder.XOR.G2.y; [----] $SEV_26 := true; [----] Adder.XOR.G2.y_old := if $SEV_26 then Adder.XOR.G2.y0 else $TEV_3; [----] Adder.XOR.G2.lh := ({{0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}})[Adder.XOR.G2.y_old, Adder.XOR.G1.y]; [----] Adder.XOR.G2.delayTime := if $SEV_27 then Adder.XOR.G2.tLH else if $SEV_28 then Adder.XOR.G2.tHL else 0.0; [----] Adder.XOR.G2.t_next := time + Adder.XOR.G2.delayTime; [----] if $SEV_29 then [----] Adder.XOR.G2.y_auxiliary := Adder.XOR.G1.y; [----] end if; [----] $SEV_31 := Adder.XOR.G2.tLH > 0.0 or Adder.XOR.G2.tHL > 0.0; [----] Adder.XOR.G2.y := if $SEV_31 then Adder.XOR.G2.y_auxiliary else Adder.XOR.G1.y; [----] $PRE.Adder.XOR.G1.y := Adder.XOR.G1.y; [----] $SEV_25 := false; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4676240640692413] Failed to read output from testmodel.py, exit status != 0: ['time', 'Adder.AND.G2.x', 'Adder.AND.G2.y', 'Adder.XOR.G2.x', 'Adder.XOR.G2.y'] 0.21440286887809634 0.22684511100000002 0.033446955 Calling exit ...