Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_8_M_4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) 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.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(ScalableTestGrids.Models.Type1.Type1_N_8_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_8_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_N_8_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_8_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 113.7 kB / 18.43 MB, free: 4.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 184 kB / 19.35 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06387/0.06387, allocations: 14.17 MB / 286.8 MB, free: 13.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 4.525/4.525, allocations: 418.6 MB / 0.7384 GB, free: 5.141 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.085e-05, allocations: 2.5 kB / 1.071 GB, free: 11.67 MB / 0.8579 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_8_M_4): time 22.78/22.78, allocations: 5.828 GB / 6.899 GB, free: 9.562 MB / 3.358 GB Notification: Performance of NFInst.instExpressions: time 11/33.78, allocations: 2 GB / 8.899 GB, free: 5.523 MB / 4.312 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088/35.87, allocations: 20.32 MB / 8.919 GB, free: 1.113 MB / 4.327 GB Notification: Performance of NFTyping.typeComponents: time 1.631/37.5, allocations: 310.7 MB / 9.223 GB, free: 12.36 MB / 4.64 GB Notification: Performance of NFTyping.typeBindings: time 10.12/47.62, allocations: 0.7776 GB / 10 GB, free: 67.57 MB / 4.812 GB Notification: Performance of NFTyping.typeClassSections: time 1.035/48.65, allocations: 213.9 MB / 10.21 GB, free: 61.82 MB / 4.812 GB Notification: Performance of NFFlatten.flatten: time 16.18/64.83, allocations: 2.302 GB / 12.51 GB, free: 10.14 MB / 5.422 GB Notification: Performance of NFFlatten.resolveConnections: time 1.376/66.21, allocations: 203.9 MB / 12.71 GB, free: 13.82 MB / 5.547 GB Notification: Performance of NFEvalConstants.evaluate: time 16.51/82.72, allocations: 0.6895 GB / 13.4 GB, free: 118.3 MB / 5.721 GB Notification: Performance of NFSimplifyModel.simplify: time 2.25/84.97, allocations: 0.7806 GB / 14.18 GB, free: 12.22 MB / 5.752 GB Notification: Performance of NFPackage.collectConstants: time 0.6033/85.57, allocations: 68.24 MB / 14.25 GB, free: 12.22 MB / 5.752 GB Notification: Performance of NFFlatten.collectFunctions: time 1.716/87.28, allocations: 171.5 MB / 14.41 GB, free: 5.895 MB / 5.83 GB Notification: Performance of combineBinaries: time 19.2/106.5, allocations: 2.247 GB / 16.66 GB, free: 12.3 MB / 6.678 GB Notification: Performance of replaceArrayConstructors: time 10.55/117, allocations: 1.384 GB / 18.05 GB, free: 294 MB / 7.131 GB Notification: Performance of NFVerifyModel.verify: time 1.367/118.4, allocations: 179.1 MB / 18.22 GB, free: 294 MB / 7.131 GB Notification: Performance of FrontEnd: time 0.6031/119, allocations: 90.82 MB / 18.31 GB, free: 294 MB / 7.131 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209094 (152567) * Number of variables: 209094 (209094) Notification: Performance of Bindings: time 44.7/163.7, allocations: 7.067 GB / 25.38 GB, free: 78.03 MB / 7.553 GB Notification: Performance of FunctionAlias: time 2.223/165.9, allocations: 0.888 GB / 26.26 GB, free: 15.68 MB / 7.949 GB Notification: Performance of Early Inline: time 35.37/201.3, allocations: 3.967 GB / 30.23 GB, free: 1.034 GB / 9.339 GB Notification: Performance of simplify1: time 0.7193/202, allocations: 232.7 MB / 30.46 GB, free: 1.034 GB / 9.339 GB Warning: Out of memory! Faking a stack overflow. Error: Stack overflow occurred while evaluating translateModel(ScalableTestGrids.Models.Type1.Type1_N_8_M_4, tolerance = 0.0001, outputFormat = "empty", numberOfIntervals = 5000, variableFilter = "", fileNamePrefix = "ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_8_M_4"): [bt] #1 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_out_of_memory) [bt] #4 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(NBAlias.aliasDefault) [bt] #5 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(NBAlias.main) [bt] #6 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(NBackendDAE.applyModules) [bt] #7 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(NBackendDAE.main) [bt] #8 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModelCallBackendNB) [bt] #9 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModel) [bt] #10 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.translateModel) [bt] #11 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.cevalInteractiveFunctions3) [bt] #12 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions2) [bt] #13 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions) [bt] #14 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #15 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #16 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #17 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #18 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #19 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #20 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #21 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #22 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #23 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #24 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #25 /lib/x86_64-linux-gnu/libc.so.6() [bt] #26 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #27 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc()