Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.001434/0.001434, allocations: 110.3 kB / 18.28 MB, free: 3.879 MB / 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.00141/0.00141, allocations: 184.4 kB / 21.45 MB, free: 0.7227 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.234/1.234, allocations: 225.6 MB / 250.1 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02678/0.02678, allocations: 5.47 MB / 310.6 MB, free: 3.699 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) 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(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") [Timeout 660] Thread is still alive. OMC died, but the thread is still running? This will end badly. The log-file of omc: Created ZeroMQ Server. Dumped server port in file: /tmp/openmodelica.hudson.port.4084704a9744484e85ef40cbf4363ef8[stateselection] Natural states before index reduction: ********************************************************* [stateselection] Natural discrete states from discrete equations: ******************************************************************* [stateselection] Natural clocked states from discrete equations: ****************************************************************** [discreteinfo] pre() and previous() variables from discrete equations: ************************************************************************ [stateselection] Natural discrete states from clocked equations: ****************************************************************** [stateselection] Natural clocked states from clocked equations: ***************************************************************** [discreteinfo] pre() and previous() variables from clocked equations: *********************************************************************** [stateselection] Natural discrete states from initial equations: ****************************************************************** [stateselection] Natural clocked states from initial equations: ***************************************************************** [discreteinfo] pre() and previous() variables from initial equations: *********************************************************************** Created Parameter Binding Equations (38): ******************************************* [SCAL] (1) module.irradiance = module.const.k ($RES_BND_836) [SCAL] (1) module.replicator.u = module.const.k ($RES_BND_835) [SCAL] (1) module.const.y = module.const.k ($RES_BND_834) [SCAL] (1) module.internalHeatPort.T = module.fixedTemperature.T ($RES_BND_833) [SCAL] (1) module.fixedTemperature.port.T = module.fixedTemperature.T ($RES_BND_832) [SCAL] (1) variableResistor.T_heatPort = variableResistor.T ($RES_BND_831) [SCAL] (1) powerRamp.ref = moduleData.VmpCellRef / moduleData.ImpRef ($RES_BND_830) [SCAL] (1) variableResistor.T = variableResistor.T_ref ($RES_BND_829) [FOR-] (3) ($RES_BND_827) [----] for $i1 in 1:3 loop [----] [SCAL] (1) module.diode[$i1].IRef = module.moduleData.IscRef ($RES_BND_828) [----] end for; [FOR-] (3) ($RES_BND_825) [----] for $i1 in 1:3 loop [----] [SCAL] (1) module.diode[$i1].TRef = module.moduleData.TRef ($RES_BND_826) [----] end for; [FOR-] (3) ($RES_BND_823) [----] for $i1 in 1:3 loop [----] [SCAL] (1) module.diode[$i1].T = module.T ($RES_BND_824) [----] end for; [FOR-] (48) ($RES_BND_821) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].IphRef = module.cell[$i1].moduleData.IscRef ($RES_BND_822) [----] end for; [FOR-] (48) ($RES_BND_819) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].gain.k = PhotoVoltaics.Functions.limit(1.0 - module.cell[$i1].shadow, 0.0, 1.0) ($RES_BND_820) [----] end for; [FOR-] (48) ($RES_BND_817) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].signalCurrent.alphaRef = module.cell[$i1].moduleData.alphaIsc ($RES_BND_818) [----] end for; [FOR-] (48) ($RES_BND_815) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].signalCurrent.irradianceRef = module.cell[$i1].moduleData.irradianceRef ($RES_BND_816) [----] end for; [FOR-] (48) ($RES_BND_813) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].signalCurrent.IRef = module.cell[$i1].IphRef ($RES_BND_814) [----] end for; [FOR-] (48) ($RES_BND_811) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].signalCurrent.TRef = module.cell[$i1].moduleData.TRef ($RES_BND_812) [----] end for; [FOR-] (48) ($RES_BND_809) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].signalCurrent.T = module.cell[$i1].T ($RES_BND_810) [----] end for; [FOR-] (48) ($RES_BND_807) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.VNegLin = -(module.cell[$i1].diode.Bv + (module.cell[$i1].diode.VRef * module.cell[$i1].diode.VtRef * module.cell[$i1].diode.Nbv * module.cell[$i1].diode.m) / (module.cell[$i1].diode.m * module.cell[$i1].diode.VtRef)) ($RES_BND_808) [----] end for; [FOR-] (48) ($RES_BND_805) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.IdsRef = module.cell[$i1].diode.IRef / ((-1.0) + exp(module.cell[$i1].diode.VRef / (module.cell[$i1].diode.m * module.cell[$i1].diode.VtRef))) ($RES_BND_806) [----] end for; [FOR-] (48) ($RES_BND_803) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.VBv = -(module.cell[$i1].diode.Bv + log((module.cell[$i1].diode.IdsRef * module.cell[$i1].diode.Nbv) / module.cell[$i1].diode.Ibv) * module.cell[$i1].diode.m * module.cell[$i1].diode.Nbv * module.cell[$i1].diode.VtRef) ($RES_BND_804) [----] end for; [FOR-] (48) ($RES_BND_801) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.VtRef = 8.617333333141594e-5 * module.cell[$i1].diode.TRef ($RES_BND_802) [----] end for; [FOR-] (48) ($RES_BND_799) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.Nbv = module.cell[$i1].moduleData.Nbv ($RES_BND_800) [----] end for; [FOR-] (48) ($RES_BND_797) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.Ibv = module.cell[$i1].moduleData.Ibv ($RES_BND_798) [----] end for; [FOR-] (48) ($RES_BND_795) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.Bv = module.cell[$i1].moduleData.BvCell ($RES_BND_796) [----] end for; [FOR-] (48) ($RES_BND_793) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.alphaV = module.cell[$i1].moduleData.alphaVoc ($RES_BND_794) [----] end for; [FOR-] (48) ($RES_BND_791) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.alphaI = module.cell[$i1].moduleData.alphaIsc ($RES_BND_792) [----] end for; [FOR-] (48) ($RES_BND_789) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.IRef = module.cell[$i1].moduleData.IscRef ($RES_BND_790) [----] end for; [FOR-] (48) ($RES_BND_787) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.VRef = module.cell[$i1].moduleData.VocCellRef ($RES_BND_788) [----] end for; [FOR-] (48) ($RES_BND_785) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.TRef = module.cell[$i1].moduleData.TRef ($RES_BND_786) [----] end for; [FOR-] (48) ($RES_BND_783) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.m = module.cell[$i1].m ($RES_BND_784) [----] end for; [FOR-] (48) ($RES_BND_781) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].diode.T = module.cell[$i1].T ($RES_BND_782) [----] end for; [FOR-] (48) ($RES_BND_779) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].shadow = module.shadow[$i1] ($RES_BND_780) [----] end for; [FOR-] (48) ($RES_BND_777) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].constantIrradiance = module.constantIrradiance ($RES_BND_778) [----] end for; [FOR-] (48) ($RES_BND_775) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].fixedTemperature.T = module.cell[$i1].T ($RES_BND_776) [----] end for; [FOR-] (48) ($RES_BND_773) [----] for $i1 in 1:48 loop [----] [SCAL] (1) module.cell[$i1].T = module.T ($RES_BND_774) [----] end for; [SCAL] (1) module.const.k = module.constantIrradiance ($RES_BND_772) [SCAL] (1) module.fixedTemperature.T = module.T ($RES_BND_771) Created Record Parameter Binding Equations (2): ************************************************* [FOR-] (864) ($RES_BND_838) [----] for $i1 in 1:48 loop [----] [RECD] (18) module.cell[$i1].moduleData = module.moduleData ($RES_BND_839) [----] end for; [RECD] (18) module.moduleData = moduleData ($RES_BND_837) ############################## Balance Initialization ############################## Reading outside of array row_match[3903]=32512, n=4749, m=3903 Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f0042d74520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(match_pf_fair+0x27b)[0x7f00443e2edb] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(matching+0x96c)[0x7f00443ea74c] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEExtImpl__matching+0x19b)[0x7f00443dea7b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_PFPlusExternal+0xdf)[0x7f0043c8b28f] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_continue__+0xf7)[0x7f0043c8caa7] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_regular+0x5a)[0x7f0043c8d11a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_causalizePseudoArray+0x548)[0x7f0043c92b78] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_applyModule+0xc7)[0x7f0043c93707] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_main+0x45e)[0x7f0043c93c5e] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x257)[0x7f0043cc1c47] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_main+0xad6)[0x7f0043c91e26] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x267)[0x7f0043cc1c57] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_main+0xb94)[0x7f0043cc2fc4] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendNB+0xc2)[0x7f00439a7392] Segmentation fault (core dumped) Aborted the command. [Calling os._exit(0), Time elapsed: 664.1758067198098]