Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Adder4.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.001385/0.001385, allocations: 103.6 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.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.001453/0.001453, allocations: 211 kB / 24.55 MB, free: 3.824 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.573/1.573, allocations: 230.7 MB / 258.3 MB, free: 7.777 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.Adder4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|Adder1.Adder1.AND.G2.x|Adder1.Adder1.AND.G2.y|Adder1.Adder1.XOR.G2.x|Adder1.Adder1.XOR.G2.y|Adder1.Adder2.AND.G2.x|Adder1.Adder2.AND.G2.y|Adder1.Adder2.XOR.G2.x|Adder1.Adder2.XOR.G2.y|Adder2.Adder1.AND.G2.x|Adder2.Adder1.AND.G2.y|Adder2.Adder1.XOR.G2.x|Adder2.Adder1.XOR.G2.y|Adder2.Adder2.AND.G2.x|Adder2.Adder2.AND.G2.y|Adder2.Adder2.XOR.G2.x|Adder2.Adder2.XOR.G2.y|Adder3.Adder1.AND.G2.x|Adder3.Adder1.AND.G2.y|Adder3.Adder1.XOR.G2.x|Adder3.Adder1.XOR.G2.y|Adder3.Adder2.AND.G2.x|Adder3.Adder2.AND.G2.y|Adder3.Adder2.XOR.G2.x|Adder3.Adder2.XOR.G2.y|Adder4.Adder1.AND.G2.x|Adder4.Adder1.AND.G2.y|Adder4.Adder1.XOR.G2.x|Adder4.Adder1.XOR.G2.y|Adder4.Adder2.AND.G2.x|Adder4.Adder2.AND.G2.y|Adder4.Adder2.XOR.G2.x|Adder4.Adder2.XOR.G2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Adder4") translateModel(Modelica.Electrical.Digital.Examples.Adder4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|Adder1.Adder1.AND.G2.x|Adder1.Adder1.AND.G2.y|Adder1.Adder1.XOR.G2.x|Adder1.Adder1.XOR.G2.y|Adder1.Adder2.AND.G2.x|Adder1.Adder2.AND.G2.y|Adder1.Adder2.XOR.G2.x|Adder1.Adder2.XOR.G2.y|Adder2.Adder1.AND.G2.x|Adder2.Adder1.AND.G2.y|Adder2.Adder1.XOR.G2.x|Adder2.Adder1.XOR.G2.y|Adder2.Adder2.AND.G2.x|Adder2.Adder2.AND.G2.y|Adder2.Adder2.XOR.G2.x|Adder2.Adder2.XOR.G2.y|Adder3.Adder1.AND.G2.x|Adder3.Adder1.AND.G2.y|Adder3.Adder1.XOR.G2.x|Adder3.Adder1.XOR.G2.y|Adder3.Adder2.AND.G2.x|Adder3.Adder2.AND.G2.y|Adder3.Adder2.XOR.G2.x|Adder3.Adder2.XOR.G2.y|Adder4.Adder1.AND.G2.x|Adder4.Adder1.AND.G2.y|Adder4.Adder1.XOR.G2.x|Adder4.Adder1.XOR.G2.y|Adder4.Adder2.AND.G2.x|Adder4.Adder2.AND.G2.y|Adder4.Adder2.XOR.G2.x|Adder4.Adder2.XOR.G2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Adder4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.56e-05, allocations: 2.281 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Adder4): time 0.2412/0.2412, allocations: 5.002 MB / 384.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.2469, allocations: 2.436 MB / 386.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.2482, allocations: 33.72 kB / 386.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.2488, allocations: 239.3 kB / 386.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009499/0.2498, allocations: 332.8 kB / 387.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.2521, allocations: 0.8867 MB / 388 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.2562, allocations: 2.82 MB / 390.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008818/0.2571, allocations: 482.1 kB / 391.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/0.2612, allocations: 3.183 MB / 394.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.2635, allocations: 1.324 MB / 395.8 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007309/0.2642, allocations: 293.2 kB / 396 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007368/0.265, allocations: 306.6 kB / 396.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003936/0.2689, allocations: 3.754 MB / 400.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001322/0.2702, allocations: 1.792 MB / 401.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007367/0.271, allocations: 140.6 kB / 402 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003584/0.2713, allocations: 65.22 kB / 402.1 MB, free: 2.988 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: 341 (245) * Number of variables: 341 (285) Notification: Performance of [SIM] Bindings: time 0.01145/0.2828, allocations: 8.505 MB / 410.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00218/0.285, allocations: 1.149 MB / 411.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.01055/0.2955, allocations: 7.142 MB / 418.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003696/0.2992, allocations: 1.28 MB / 420.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01375/0.313, allocations: 7.522 MB / 427.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002321/0.3153, allocations: 1.177 MB / 428.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001876/0.3172, allocations: 1.152 MB / 430 MB, free: 9.117 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.003864/0.321, allocations: 2.401 MB / 432.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.003422/0.3244, allocations: 1.971 MB / 434.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.006269/0.3307, allocations: 4.221 MB / 438.6 MB, free: 476 kB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.007365/0.3381, allocations: 5.2 MB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.009813/0.3479, allocations: 7.412 MB / 451.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.007666/0.3556, allocations: 3.973 MB / 455.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.01725/0.3728, allocations: 11.49 MB / 466.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0006397/0.3734, allocations: 116.1 kB / 466.8 MB, free: 3.938 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.008307/0.3817, allocations: 4.221 MB / 471 MB, free: 15.71 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.02879/0.4105, allocations: 16.18 MB / 487.2 MB, free: 15.24 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 0.0001493/0.4107, allocations: 156 kB / 487.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 5.1e-06/0.4107, allocations: 4 kB / 487.4 MB, free: 15.08 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003617/0.4111, allocations: 102.2 kB / 487.5 MB, free: 14.98 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.085e-05/0.4111, allocations: 2 kB / 487.5 MB, free: 14.98 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 0.0001033/0.4112, allocations: 140 kB / 487.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 6.365e-05/0.4112, allocations: 12 kB / 487.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.007561/0.4188, allocations: 3.033 MB / 490.6 MB, free: 11.55 MB / 398.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.844898368988652] Failed to read output from testmodel.py, exit status != 0: ['time', 'Adder1.Adder1.AND.G2.x', 'Adder1.Adder1.AND.G2.y', 'Adder1.Adder1.XOR.G2.x', 'Adder1.Adder1.XOR.G2.y', 'Adder1.Adder2.AND.G2.x', 'Adder1.Adder2.AND.G2.y', 'Adder1.Adder2.XOR.G2.x', 'Adder1.Adder2.XOR.G2.y', 'Adder2.Adder1.AND.G2.x', 'Adder2.Adder1.AND.G2.y', 'Adder2.Adder1.XOR.G2.x', 'Adder2.Adder1.XOR.G2.y', 'Adder2.Adder2.AND.G2.x', 'Adder2.Adder2.AND.G2.y', 'Adder2.Adder2.XOR.G2.x', 'Adder2.Adder2.XOR.G2.y', 'Adder3.Adder1.AND.G2.x', 'Adder3.Adder1.AND.G2.y', 'Adder3.Adder1.XOR.G2.x', 'Adder3.Adder1.XOR.G2.y', 'Adder3.Adder2.AND.G2.x', 'Adder3.Adder2.AND.G2.y', 'Adder3.Adder2.XOR.G2.x', 'Adder3.Adder2.XOR.G2.y', 'Adder4.Adder1.AND.G2.x', 'Adder4.Adder1.AND.G2.y', 'Adder4.Adder1.XOR.G2.x', 'Adder4.Adder1.XOR.G2.y', 'Adder4.Adder2.AND.G2.x', 'Adder4.Adder2.AND.G2.y', 'Adder4.Adder2.XOR.G2.x', 'Adder4.Adder2.XOR.G2.y'] 0.4291362739750184 0.44371689499999994 0.16921640100000002 Calling exit ...