Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001582/0.001582, allocations: 108.7 kB / 21.99 MB, free: 4.555 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.001706/0.001706, allocations: 213.5 kB / 25.3 MB, free: 2.902 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.751/1.751, allocations: 207.7 MB / 236.2 MB, free: 9.766 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.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.468e-05, allocations: 2.281 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005971/0.005996, allocations: 3.268 MB / 351.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.009177, allocations: 1.24 MB / 353 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.009509, allocations: 19.88 kB / 353 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.009911, allocations: 82.98 kB / 353.1 MB, free: 4.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.01039, allocations: 134.8 kB / 353.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.01129, allocations: 403.4 kB / 353.6 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.01254, allocations: 1.037 MB / 354.7 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.01313, allocations: 246.9 kB / 354.9 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.01366, allocations: 378.7 kB / 355.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.01406, allocations: 302.4 kB / 355.6 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.0142, allocations: 92 kB / 355.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.01434, allocations: 92 kB / 355.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001411/0.01575, allocations: 1.412 MB / 357.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000735/0.01649, allocations: 0.8637 MB / 358 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.0166, allocations: 48 kB / 358.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001363/0.01673, allocations: 35.69 kB / 358.1 MB, free: 15.68 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: 135 (135) * Number of variables: 135 (129) Notification: Performance of [SIM] Bindings: time 0.00391/0.02064, allocations: 3.287 MB / 361.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007674/0.02141, allocations: 0.5436 MB / 362 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002051/0.02346, allocations: 1.87 MB / 363.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006904/0.02415, allocations: 356.4 kB / 364.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004731/0.02888, allocations: 3.229 MB / 367.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000483/0.02937, allocations: 254.5 kB / 367.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003161/0.02968, allocations: 193.4 kB / 367.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.001134/0.03082, allocations: 0.5231 MB / 368.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000685/0.0315, allocations: 382.7 kB / 368.7 MB, free: 4.227 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001267/0.03277, allocations: 0.8208 MB / 369.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002406/0.03517, allocations: 1.645 MB / 371.2 MB, free: 1.57 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002001/0.03718, allocations: 1.566 MB / 372.8 MB, free: 4 kB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001747/0.03892, allocations: 0.9864 MB / 373.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.00252/0.04144, allocations: 2.17 MB / 375.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001751/0.04162, allocations: 56.06 kB / 376 MB, free: 12.66 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0006518/0.04227, allocations: 0.5621 MB / 376.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01411/0.05638, allocations: 9.001 MB / 385.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0001565/0.05653, allocations: 172 kB / 385.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.924e-06/0.05654, allocations: 0 / 385.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007989/0.05733, allocations: 452.8 kB / 386.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.1e-05/0.05735, allocations: 0 / 386.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 5.704e-05/0.0574, allocations: 87.94 kB / 386.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.204e-05/0.05743, allocations: 8 kB / 386.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.002545/0.05998, allocations: 1.644 MB / 387.9 MB, free: 496 kB / 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.888659409014508] 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.30679150397190824 0.322263652 0.302428916 Calling exit ...