Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001836/0.001836, allocations: 109.7 kB / 22 MB, free: 5.219 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.001752/0.001752, allocations: 213.5 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 207.7 MB / 236.2 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.Adder4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/2.906e-05, allocations: 2.281 kB / 348.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Adder4): time 0.007508/0.007537, allocations: 4.995 MB / 353.5 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.01363, allocations: 2.445 MB / 356 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.01425, allocations: 31.75 kB / 356 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.01488, allocations: 241.8 kB / 356.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008076/0.01568, allocations: 325.7 kB / 356.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.01768, allocations: 0.8897 MB / 357.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.02156, allocations: 2.819 MB / 360.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.02259, allocations: 482.4 kB / 360.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005216/0.0278, allocations: 3.181 MB / 363.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.0306, allocations: 1.327 MB / 365.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007173/0.03131, allocations: 292 kB / 365.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007599/0.03207, allocations: 304 kB / 365.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004916/0.03699, allocations: 3.746 MB / 369.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001915/0.03891, allocations: 1.797 MB / 371.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006916/0.0396, allocations: 144.5 kB / 371.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003964/0.03999, allocations: 67.44 kB / 371.6 MB, free: 2.277 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.01073/0.05072, allocations: 8.504 MB / 380.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001779/0.0525, allocations: 1.147 MB / 381.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.008956/0.06146, allocations: 7.139 MB / 388.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.2551/0.3166, allocations: 1.28 MB / 389.6 MB, free: 33.67 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0141/0.3307, allocations: 7.521 MB / 397.2 MB, free: 32.43 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002268/0.3329, allocations: 1.179 MB / 398.3 MB, free: 32.23 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001694/0.3346, allocations: 1.15 MB / 399.5 MB, free: 31.95 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.003602/0.3382, allocations: 2.392 MB / 401.9 MB, free: 30.39 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.003173/0.3414, allocations: 1.966 MB / 403.8 MB, free: 29.31 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.006035/0.3474, allocations: 4.22 MB / 408.1 MB, free: 27.29 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006198/0.3536, allocations: 5.216 MB / 413.3 MB, free: 26.11 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006777/0.3604, allocations: 7.404 MB / 420.7 MB, free: 22.02 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.005599/0.366, allocations: 3.973 MB / 424.7 MB, free: 18.39 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.01002/0.376, allocations: 11.48 MB / 436.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0004701/0.3765, allocations: 124.1 kB / 436.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.006389/0.3829, allocations: 4.217 MB / 440.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.02091/0.4038, allocations: 16.18 MB / 456.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0001387/0.4039, allocations: 155.9 kB / 456.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 2.344e-06/0.4039, allocations: 0 / 456.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003405/0.4043, allocations: 110.2 kB / 456.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.713e-05/0.4043, allocations: 6 kB / 456.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 9.257e-05/0.4044, allocations: 132 kB / 457 MB, free: 1.809 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 7.687e-05/0.4045, allocations: 12 kB / 457.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.006588/0.4111, allocations: 3.018 MB / 460.1 MB, free: 14.57 MB / 350.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.9287089959834702] 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.420040656987112 0.43833755700000004 0.394054416 Calling exit ...