Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.001608/0.001608, 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.001514/0.001514, 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.296/1.296, allocations: 225.6 MB / 250.1 MB, free: 13.36 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.0272/0.0272, allocations: 5.469 MB / 310.6 MB, free: 3.688 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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [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.32f62b9afde34969aab6bf1399eaedf7[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) variableResistor.T = variableResistor.T_ref ($RES_BND_830) [SCAL] (1) powerRamp.ref = moduleData.VmpCellRef / moduleData.ImpRef ($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]=32663, n=4749, m=3903 Reading outside of array row_match[3906]=19009, n=4749, m=3903 Reading outside of array row_match[3903]=32663, n=4749, m=3903 Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f97e8910520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(match_pf_fair+0x213)[0x7f97e9f7ee73] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(matching+0x96c)[0x7f97e9f8674c] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEExtImpl__matching+0x19b)[0x7f97e9f7aa7b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_PFPlusExternal+0xdf)[0x7f97e982728f] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_continue__+0xf7)[0x7f97e9828aa7] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_regular+0x5a)[0x7f97e982911a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_causalizePseudoArray+0x548)[0x7f97e982eb78] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_applyModule+0xc7)[0x7f97e982f707] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_main+0x45e)[0x7f97e982fc5e] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x257)[0x7f97e985dc47] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_main+0xad6)[0x7f97e982de26] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x267)[0x7f97e985dc57] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_main+0xb94)[0x7f97e985efc4] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendNB+0xc2)[0x7f97e9543392] Segmentation fault (core dumped) Aborted the command. [Calling os._exit(0), Time elapsed: 664.2704495284706]