Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.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.001739/0.001739, 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.002052/0.002052, 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion") translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.734e-05, allocations: 2.281 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.2134/0.2135, allocations: 3.396 MB / 382.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.2172, allocations: 1.356 MB / 383.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.2177, allocations: 21.28 kB / 383.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.218, allocations: 86.05 kB / 383.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.2186, allocations: 153.2 kB / 384 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2199, allocations: 471.1 kB / 384.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.2214, allocations: 1.18 MB / 385.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.2219, allocations: 252.1 kB / 385.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006836/0.2226, allocations: 449.4 kB / 386.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.223, allocations: 323 kB / 386.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.2232, allocations: 99.03 kB / 386.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.2235, allocations: 110.5 kB / 386.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001321/0.2248, allocations: 1.515 MB / 388.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005759/0.2254, allocations: 0.9484 MB / 389.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2256, allocations: 50.72 kB / 389.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002073/0.2258, allocations: 43.78 kB / 389.5 MB, free: 9.477 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: 141 (141) * Number of variables: 141 (135) Notification: Performance of [SIM] Bindings: time 0.003732/0.2295, allocations: 3.514 MB / 393 MB, free: 6.945 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006688/0.2302, allocations: 497.3 kB / 393.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002516/0.2327, allocations: 2.26 MB / 395.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007583/0.2334, allocations: 348.3 kB / 396.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.005257/0.2387, allocations: 3.339 MB / 399.4 MB, free: 2.984 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004307/0.2391, allocations: 242.1 kB / 399.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002248/0.2394, allocations: 196.9 kB / 399.8 MB, free: 2.688 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007185/0.2401, allocations: 0.5243 MB / 400.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005902/0.2407, allocations: 375.6 kB / 400.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.00098/0.2416, allocations: 0.8 MB / 401.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002462/0.2441, allocations: 1.577 MB / 403.1 MB, free: 1.074 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001499/0.2456, allocations: 1.536 MB / 404.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002281/0.2479, allocations: 1.053 MB / 405.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002844/0.2507, allocations: 2.521 MB / 408.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001559/0.2509, allocations: 56.78 kB / 408.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.000658/0.2515, allocations: 0.5672 MB / 408.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01393/0.2655, allocations: 9.053 MB / 417.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0002043/0.2657, allocations: 172 kB / 418 MB, free: 5.004 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.334e-06/0.2657, allocations: 0 / 418 MB, free: 5.004 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0008381/0.2665, allocations: 435.3 kB / 418.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.148e-05/0.2665, allocations: 0 / 418.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 6.979e-05/0.2666, allocations: 87.94 kB / 418.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.612e-05/0.2666, allocations: 4 kB / 418.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.002888/0.2695, allocations: 1.751 MB / 420.3 MB, free: 2.672 MB / 318.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref thd1.harmonic.product1.u[1] is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5783857550122775] Failed to read output from testmodel.py, exit status != 0: ['time', 'thd1.harmonic.mean1.x', 'thd1.harmonic.mean2.x', 'thd1.rootMeanSquare.mean.x', 'thdRMS.harmonic.mean1.x', 'thdRMS.harmonic.mean2.x', 'thdRMS.rootMeanSquare.mean.x'] 0.2784958779811859 0.29368506999999994 0.064601002 Calling exit ...