Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.HalfAdder.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.001974/0.001974, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.002621/0.002621, allocations: 186.9 kB / 24.53 MB, free: 3.746 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.64/1.64, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.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.0.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.0.0_Modelica.Electrical.Digital.Examples.HalfAdder") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.341e-05, allocations: 6.219 kB / 371.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.003635/0.003659, allocations: 1.994 MB / 373.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.005952, allocations: 0.9745 MB / 374.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.006047, allocations: 4 kB / 374.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.006232, allocations: 43.58 kB / 374.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.006358, allocations: 55.5 kB / 374.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.006898, allocations: 139.3 kB / 374.9 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.007427, allocations: 411 kB / 375.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.007638, allocations: 62.33 kB / 375.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.008845, allocations: 0.9903 MB / 376.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.009112, allocations: 199.2 kB / 376.6 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.422e-05/0.009207, allocations: 36 kB / 376.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.009291, allocations: 36 kB / 376.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006364/0.009928, allocations: 0.5807 MB / 377.2 MB, free: 3.613 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002257/0.01015, allocations: 319.8 kB / 377.5 MB, free: 3.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.01022, allocations: 20 kB / 377.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.753e-05/0.01026, allocations: 11.94 kB / 377.6 MB, free: 3.266 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.001795/0.01205, allocations: 1.434 MB / 379 MB, free: 1.703 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002597/0.01231, allocations: 177 kB / 379.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001228/0.01354, allocations: 0.9682 MB / 380.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004387/0.01398, allocations: 231 kB / 380.4 MB, free: 260 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2247/0.2387, allocations: 0.9719 MB / 381.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003559/0.2391, allocations: 217.6 kB / 381.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002337/0.2393, allocations: 186 kB / 381.7 MB, free: 16.28 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005681/0.2399, allocations: 365 kB / 382.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005481/0.2404, allocations: 355 kB / 382.4 MB, free: 16.13 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008664/0.2413, allocations: 0.6155 MB / 383 MB, free: 16.11 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001479/0.2428, allocations: 0.9163 MB / 384 MB, free: 16.02 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001218/0.244, allocations: 1.141 MB / 385.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009913/0.245, allocations: 0.6308 MB / 385.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001823/0.2468, allocations: 1.662 MB / 387.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.119e-05/0.2469, allocations: 31.48 kB / 387.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0007677/0.2476, allocations: 0.5619 MB / 388 MB, free: 14.21 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003306/0.2509, allocations: 2.405 MB / 390.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.922e-05/0.251, allocations: 27.53 kB / 390.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.112e-06/0.251, allocations: 0 / 390.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001124/0.2511, allocations: 56.83 kB / 390.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.526e-06/0.2511, allocations: 336 / 390.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.474e-05/0.2511, allocations: 27.62 kB / 390.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.786e-05/0.2511, allocations: 3.562 kB / 390.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008761/0.252, allocations: 0.5576 MB / 391.1 MB, free: 13.46 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', '-') " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7181654080050066] 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.260082864027936 0.27342148099999997 0.26085637899999997 Calling exit ...