Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.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.001807/0.001807, 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.002622/0.002622, allocations: 186.9 kB / 24.53 MB, free: 3.75 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.525/1.525, allocations: 225.7 MB / 253.4 MB, free: 12.74 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.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.0.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.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.875e-05/3.875e-05, allocations: 2.281 kB / 371.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.008245/0.008284, allocations: 3.305 MB / 375 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.01158, allocations: 1.2 MB / 376.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.012, allocations: 19.88 kB / 376.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.01238, allocations: 86.92 kB / 376.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.01306, allocations: 146.7 kB / 376.5 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.0144, allocations: 400.8 kB / 376.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.01619, allocations: 1.056 MB / 377.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.01694, allocations: 242.9 kB / 378.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.01772, allocations: 382.7 kB / 378.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.01829, allocations: 314.3 kB / 378.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.01849, allocations: 96 kB / 378.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.01868, allocations: 96 kB / 379 MB, free: 1.793 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001879/0.02056, allocations: 1.431 MB / 380.5 MB, free: 356 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.2239/0.2444, allocations: 0.8835 MB / 381.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.2447, allocations: 50 kB / 381.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002514/0.245, allocations: 42.53 kB / 381.4 MB, free: 15.45 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.003278/0.2483, allocations: 3.34 MB / 384.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007515/0.249, allocations: 0.5661 MB / 385.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001793/0.2508, allocations: 1.927 MB / 387.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005846/0.2514, allocations: 351.8 kB / 387.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004244/0.2556, allocations: 3.369 MB / 391 MB, free: 11.34 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003776/0.256, allocations: 244.6 kB / 391.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000202/0.2562, allocations: 196 kB / 391.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0008363/0.2571, allocations: 0.5366 MB / 391.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005533/0.2576, allocations: 364.6 kB / 392.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001053/0.2587, allocations: 0.8161 MB / 393.1 MB, free: 10 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002471/0.2611, allocations: 1.648 MB / 394.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001458/0.2626, allocations: 1.564 MB / 396.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001601/0.2642, allocations: 0.9909 MB / 397.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001705/0.2659, allocations: 2.167 MB / 399.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.0001266/0.266, allocations: 60.09 kB / 399.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000447/0.2665, allocations: 0.5741 MB / 400.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.01021/0.2767, allocations: 8.984 MB / 409.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 7.158e-05/0.2768, allocations: 164 kB / 409.3 MB, free: 1.07 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.665e-06/0.2768, allocations: 4 kB / 409.3 MB, free: 1.066 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004791/0.2772, allocations: 460.4 kB / 409.7 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.786e-06/0.2772, allocations: 7.375 kB / 409.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.821e-05/0.2773, allocations: 87.38 kB / 409.8 MB, free: 476 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.771e-05/0.2773, allocations: 6.109 kB / 409.8 MB, free: 472 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002147/0.2795, allocations: 1.626 MB / 411.4 MB, free: 14.85 MB / 318.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref thd1.rootMeanSquare.product.u[1] is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6467928170459345] 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.28972167696338147 0.30259048999999993 0.054189679000000004 Calling exit ...